#7D64BB#7D64BB

#7D64BB is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.7% C 0.132 H 295.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7D64BB
RGBrgb(125, 100, 187)
HSLhsl(257, 39%, 56%)
HSVhsv(257, 47%, 73%)
CMYKcmyk(33.2%, 46.5%, 0%, 26.7%)
CIE-LABlab(48.34, 29.59, -42.48)
CIE-LCHlch(48.34, 51.77, 304.86°)
OKLaboklab(56.66% 0.056 -0.1196)
OKLCHoklch(56.66% 0.132 295.1)
XYZxyz(21.9820, 17.0618, 49.1392)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64BB #A2BB64
analogous
#6477BB #7D64BB #A964BB
triadic
#7D64BB #BB7D64 #64BB7D
tetradic
#7D64BB #BB6477 #A2BB64 #64BBA9
square
#7D64BB #BB6477 #A2BB64 #64BBA9
split-complementary
#7D64BB #BBA964 #77BB64
monochromatic
#453272 #5E459D #7D64BB #A18FCE #C4B9E0

Accessibility & contrast

On white

4.76
#7D64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7D64BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64BB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64BB#FFFFFF#000000##FFFFFF
##7D64BB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4773BE
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#6F7486
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d64bb;
/* rgb */ color: rgb(125, 100, 187);
/* oklch */ color: oklch(56.7% 0.132 295.1);
Tailwind
colors: {
  custom: {
    50: '#a590d0',
    500: '#7d64bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d64bb;
$custom-light: #a590d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64bb",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 257.241,
    "s": 39.013,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56661,
    "c": 0.13202,
    "h": 295.1
  },
  "luminance": 0.17062
}

Semantic roles & 50–950 ramp

primary
#7D64BB
secondary
#C5CFAB
accent
#CF59AD
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7D64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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