#9959EF#9959EF

#9959EF is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.0% C 0.216 H 299.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9959EF
RGBrgb(153, 89, 239)
HSLhsl(266, 82%, 64%)
HSVhsv(266, 63%, 94%)
CMYKcmyk(36%, 62.8%, 0%, 6.3%)
CIE-LABlab(52.00, 55.74, -66.06)
CIE-LCHlch(52.00, 86.43, 310.16°)
OKLaboklab(61.04% 0.1066 -0.1879)
OKLCHoklch(61.04% 0.216 299.6)
XYZxyz(32.2854, 20.1487, 83.8328)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9959EF #AFEF59
analogous
#5964EF #9959EF #E459EF
triadic
#9959EF #EF9959 #59EF99
tetradic
#9959EF #EF5964 #AFEF59 #59EFE4
square
#9959EF #EF5964 #AFEF59 #59EFE4
split-complementary
#9959EF #EFE459 #64EF59
monochromatic
#5A12BC #7721EA #9959EF #BB91F4 #DEC9FA

Accessibility & contrast

On white

4.18
#9959EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9959EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9959EF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9959EF#FFFFFF#000000##000000
##9959EF1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#127BEC
Tritanopia (blue-blind)
#867A9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9959ef;
/* rgb */ color: rgb(153, 89, 239);
/* oklch */ color: oklch(61.0% 0.216 299.6);
Tailwind
colors: {
  custom: {
    50: '#bc8bf5',
    500: '#9959ef',
    950: '#000000',
  },
}
SCSS
$custom: #9959ef;
$custom-light: #bc8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9959ef",
  "rgb": {
    "r": 153,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 265.6,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61035,
    "c": 0.21603,
    "h": 299.6
  },
  "luminance": 0.20149
}

Semantic roles & 50–950 ramp

primary
#9959EF
secondary
#D6ECB8
accent
#DF0783
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9959EF

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

Preview Lab → · Contrast checker → · Palette generator →

#9959EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva