#7B64DC#7B64DC

#7B64DC is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.5% C 0.176 H 288.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7B64DC
RGBrgb(123, 100, 220)
HSLhsl(252, 63%, 63%)
HSVhsv(252, 55%, 86%)
CMYKcmyk(44.1%, 54.5%, 0%, 13.7%)
CIE-LABlab(50.09, 38.21, -58.60)
CIE-LCHlch(50.09, 69.96, 303.11°)
OKLaboklab(58.55% 0.0561 -0.1669)
OKLCHoklch(58.55% 0.176 288.6)
XYZxyz(25.6402, 18.4916, 69.9145)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64DC #C5DC64
analogous
#6489DC #7B64DC #B764DC
triadic
#7B64DC #DC7B64 #64DC7B
tetradic
#7B64DC #DC6489 #C5DC64 #64DCB7
square
#7B64DC #DC6489 #C5DC64 #64DCB7
split-complementary
#7B64DC #DCB764 #89DC64
monochromatic
#3C24A1 #5032D1 #7B64DC #A696E7 #D0C8F3

Accessibility & contrast

On white

4.47
#7B64DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7B64DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B64DC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64DC#FFFFFF#000000##000000
##7B64DC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#247AE0
Deuteranopia (green-blind)
#2674D9
Tritanopia (blue-blind)
#5E7E96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b64dc;
/* rgb */ color: rgb(123, 100, 220);
/* oklch */ color: oklch(58.5% 0.176 288.6);
Tailwind
colors: {
  custom: {
    50: '#a791e8',
    500: '#7b64dc',
    950: '#000000',
  },
}
SCSS
$custom: #7b64dc;
$custom-light: #a791e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64dc",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 251.5,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58546,
    "c": 0.17603,
    "h": 288.6
  },
  "luminance": 0.18493
}

Semantic roles & 50–950 ramp

primary
#7B64DC
secondary
#DBE4B8
accent
#CB1BA9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7B64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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