#7D6498#7D6498

#7D6498 is a mid, moderate violet. Relative luminance 0.157; OKLCH L 54.8% C 0.084 H 305.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7D6498
RGBrgb(125, 100, 152)
HSLhsl(269, 21%, 49%)
HSVhsv(269, 34%, 60%)
CMYKcmyk(17.8%, 34.2%, 0%, 40.4%)
CIE-LABlab(46.63, 20.74, -24.64)
CIE-LCHlch(46.63, 32.21, 310.08°)
OKLaboklab(54.81% 0.0491 -0.0679)
OKLCHoklch(54.81% 0.084 305.8)
XYZxyz(18.6810, 15.7414, 31.7539)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6498 #7F9864
analogous
#646598 #7D6498 #976498
triadic
#7D6498 #987D64 #64987D
tetradic
#7D6498 #986465 #7F9864 #649897
square
#7D6498 #986465 #7F9864 #649897
split-complementary
#7D6498 #989764 #659864
monochromatic
#40334E #5F4C73 #7D6498 #9C88B1 #BBADC9

Accessibility & contrast

On white

5.06
#7D6498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7D6498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6498
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6498#FFFFFF#000000##FFFFFF
##7D64981.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596E9A
Deuteranopia (green-blind)
#5F6F97
Tritanopia (blue-blind)
#796C77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d6498;
/* rgb */ color: rgb(125, 100, 152);
/* oklch */ color: oklch(54.8% 0.084 305.8);
Tailwind
colors: {
  custom: {
    50: '#a390b6',
    500: '#7d6498',
    950: '#000000',
  },
}
SCSS
$custom: #7d6498;
$custom-light: #a390b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6498",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 152
  },
  "hsl": {
    "h": 268.846,
    "s": 20.635,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54813,
    "c": 0.08381,
    "h": 305.8
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#7D6498
secondary
#ACB8A0
accent
#BD6B95
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#0F0C11
muted
#7F7D80

Preview Lab

Preview with #7D6498

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7D6498 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva