#9962DF#9962DF

#9962DF is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.3% C 0.185 H 301.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9962DF
RGBrgb(153, 98, 223)
HSLhsl(266, 66%, 63%)
HSVhsv(266, 56%, 87%)
CMYKcmyk(31.4%, 56.1%, 0%, 12.5%)
CIE-LABlab(52.77, 47.09, -55.83)
CIE-LCHlch(52.77, 73.04, 310.15°)
OKLaboklab(61.27% 0.0966 -0.1579)
OKLCHoklch(61.27% 0.185 301.5)
XYZxyz(30.8207, 20.8353, 72.1956)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9962DF #A8DF62
analogous
#6269DF #9962DF #D862DF
triadic
#9962DF #DF9962 #62DF99
tetradic
#9962DF #DF6269 #A8DF62 #62DFD8
square
#9962DF #DF6269 #A8DF62 #62DFD8
split-complementary
#9962DF #DFD862 #69DF62
monochromatic
#5B22A5 #782FD5 #9962DF #BA95E9 #DBC8F4

Accessibility & contrast

On white

4.06
#9962DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9962DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9962DF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9962DF#FFFFFF#000000##000000
##9962DF1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7DE3
Deuteranopia (green-blind)
#427DDC
Tritanopia (blue-blind)
#8B7B97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9962df;
/* rgb */ color: rgb(153, 98, 223);
/* oklch */ color: oklch(61.3% 0.185 301.5);
Tailwind
colors: {
  custom: {
    50: '#bb91ea',
    500: '#9962df',
    950: '#000000',
  },
}
SCSS
$custom: #9962df;
$custom-light: #bb91ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9962df",
  "rgb": {
    "r": 153,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 266.4,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61271,
    "c": 0.18505,
    "h": 301.5
  },
  "luminance": 0.20835
}

Semantic roles & 50–950 ramp

primary
#9962DF
secondary
#D1E5B8
accent
#CE177E
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9962DF

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

Preview Lab → · Contrast checker → · Palette generator →

#9962DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva