#9959F0#9959F0

#9959F0 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.1% C 0.217 H 299.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9959F0
RGBrgb(153, 89, 240)
HSLhsl(265, 83%, 65%)
HSVhsv(265, 63%, 94%)
CMYKcmyk(36.3%, 62.9%, 0%, 5.9%)
CIE-LABlab(52.07, 55.99, -66.51)
CIE-LCHlch(52.07, 86.94, 310.09°)
OKLaboklab(61.1% 0.1066 -0.1892)
OKLCHoklch(61.1% 0.217 299.4)
XYZxyz(32.4335, 20.2080, 84.6130)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9959F0 #B0F059
analogous
#5965F0 #9959F0 #E459F0
triadic
#9959F0 #F09959 #59F099
tetradic
#9959F0 #F05965 #B0F059 #59F0E4
square
#9959F0 #F05965 #B0F059 #59F0E4
split-complementary
#9959F0 #F0E459 #65F059
monochromatic
#5A11BD #7721EB #9959F0 #BB91F5 #DEC9FA

Accessibility & contrast

On white

4.17
#9959F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#9959F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9959F0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9959F0#FFFFFF#000000##000000
##9959F01.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#0E7BED
Tritanopia (blue-blind)
#867B9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9959f0;
/* rgb */ color: rgb(153, 89, 240);
/* oklch */ color: oklch(61.1% 0.217 299.4);
Tailwind
colors: {
  custom: {
    50: '#bc8bf6',
    500: '#9959f0',
    950: '#000000',
  },
}
SCSS
$custom: #9959f0;
$custom-light: #bc8bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#9959f0",
  "rgb": {
    "r": 153,
    "g": 89,
    "b": 240
  },
  "hsl": {
    "h": 265.43,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61104,
    "c": 0.21715,
    "h": 299.4
  },
  "luminance": 0.20208
}

Semantic roles & 50–950 ramp

primary
#9959F0
secondary
#D6ECB8
accent
#E00683
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9959F0

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

Preview Lab → · Contrast checker → · Palette generator →

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