#7D64CB#7D64CB

#7D64CB is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.6% C 0.154 H 292.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7D64CB
RGBrgb(125, 100, 203)
HSLhsl(255, 50%, 59%)
HSVhsv(255, 51%, 80%)
CMYKcmyk(38.4%, 50.7%, 0%, 20.4%)
CIE-LABlab(49.23, 33.93, -50.27)
CIE-LCHlch(49.23, 60.65, 304.01°)
OKLaboklab(57.62% 0.0577 -0.1423)
OKLCHoklch(57.62% 0.154 292.1)
XYZxyz(23.7912, 17.7855, 58.6678)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64CB #B2CB64
analogous
#647FCB #7D64CB #B164CB
triadic
#7D64CB #CB7D64 #64CB7D
tetradic
#7D64CB #CB647F #B2CB64 #64CBB1
square
#7D64CB #CB647F #B2CB64 #64CBB1
split-complementary
#7D64CB #CBB164 #7FCB64
monochromatic
#432D87 #5A3DB5 #7D64CB #A392DA #CAC0EA

Accessibility & contrast

On white

4.61
#7D64CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7D64CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64CB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64CB#FFFFFF#000000##FFFFFF
##7D64CB1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B77CF
Deuteranopia (green-blind)
#3E73C9
Tritanopia (blue-blind)
#69798E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d64cb;
/* rgb */ color: rgb(125, 100, 203);
/* oklch */ color: oklch(57.6% 0.154 292.1);
Tailwind
colors: {
  custom: {
    50: '#a790db',
    500: '#7d64cb',
    950: '#000000',
  },
}
SCSS
$custom: #7d64cb;
$custom-light: #a790db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64cb",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 254.563,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57623,
    "c": 0.15359,
    "h": 292.1
  },
  "luminance": 0.17786
}

Semantic roles & 50–950 ramp

primary
#7D64CB
secondary
#D0D9B1
accent
#D94FB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D64CB

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

Preview Lab → · Contrast checker → · Palette generator →

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