#9762DC#9762DC

#9762DC is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.9% C 0.181 H 301.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9762DC
RGBrgb(151, 98, 220)
HSLhsl(266, 64%, 62%)
HSVhsv(266, 55%, 86%)
CMYKcmyk(31.4%, 55.5%, 0%, 13.7%)
CIE-LABlab(52.38, 45.87, -54.78)
CIE-LCHlch(52.38, 71.45, 309.94°)
OKLaboklab(60.88% 0.094 -0.1548)
OKLCHoklch(60.88% 0.181 301.3)
XYZxyz(30.0454, 20.4819, 70.0668)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9762DC #A7DC62
analogous
#626ADC #9762DC #D462DC
triadic
#9762DC #DC9762 #62DC97
tetradic
#9762DC #DC626A #A7DC62 #62DCD4
square
#9762DC #DC626A #A7DC62 #62DCD4
split-complementary
#9762DC #DCD462 #6ADC62
monochromatic
#5A24A0 #7630D1 #9762DC #B894E7 #D9C6F2

Accessibility & contrast

On white

4.12
#9762DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#9762DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9762DC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9762DC#FFFFFF#000000##000000
##9762DC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CE0
Deuteranopia (green-blind)
#437CD9
Tritanopia (blue-blind)
#897A96
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9762dc;
/* rgb */ color: rgb(151, 98, 220);
/* oklch */ color: oklch(60.9% 0.181 301.3);
Tailwind
colors: {
  custom: {
    50: '#b990e7',
    500: '#9762dc',
    950: '#000000',
  },
}
SCSS
$custom: #9762dc;
$custom-light: #b990e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9762dc",
  "rgb": {
    "r": 151,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 266.066,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.1811,
    "h": 301.3
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#9762DC
secondary
#D0E3B7
accent
#CB1A7E
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9762DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9762DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva