#9762DB#9762DB

#9762DB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.8% C 0.180 H 301.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9762DB
RGBrgb(151, 98, 219)
HSLhsl(266, 63%, 62%)
HSVhsv(266, 55%, 86%)
CMYKcmyk(31.1%, 55.3%, 0%, 14.1%)
CIE-LABlab(52.32, 45.63, -54.30)
CIE-LCHlch(52.32, 70.93, 310.04°)
OKLaboklab(60.82% 0.0939 -0.1534)
OKLCHoklch(60.82% 0.18 301.5)
XYZxyz(29.9134, 20.4290, 69.3714)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9762DB #A6DB62
analogous
#626ADB #9762DB #D362DB
triadic
#9762DB #DB9762 #62DB97
tetradic
#9762DB #DB626A #A6DB62 #62DBD3
square
#9762DB #DB626A #A6DB62 #62DBD3
split-complementary
#9762DB #DBD362 #6ADB62
monochromatic
#5A249E #7630D0 #9762DB #B894E6 #D9C6F2

Accessibility & contrast

On white

4.13
#9762DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9762DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9762DB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9762DB#FFFFFF#000000##000000
##9762DB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#317CDF
Deuteranopia (green-blind)
#447CD8
Tritanopia (blue-blind)
#8A7A95
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9762db;
/* rgb */ color: rgb(151, 98, 219);
/* oklch */ color: oklch(60.8% 0.180 301.5);
Tailwind
colors: {
  custom: {
    50: '#b990e7',
    500: '#9762db',
    950: '#000000',
  },
}
SCSS
$custom: #9762db;
$custom-light: #b990e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9762db",
  "rgb": {
    "r": 151,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 266.281,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60815,
    "c": 0.1799,
    "h": 301.5
  },
  "luminance": 0.20429
}

Semantic roles & 50–950 ramp

primary
#9762DB
secondary
#CFE3B6
accent
#CA1B7E
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9762DB

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

Preview Lab → · Contrast checker → · Palette generator →

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