#9F56EE#9F56EE

#9F56EE is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.2% C 0.220 H 302.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9F56EE
RGBrgb(159, 86, 238)
HSLhsl(269, 82%, 64%)
HSVhsv(269, 64%, 93%)
CMYKcmyk(33.2%, 63.9%, 0%, 6.7%)
CIE-LABlab(52.06, 58.25, -65.37)
CIE-LCHlch(52.06, 87.56, 311.70°)
OKLaboklab(61.21% 0.1178 -0.1857)
OKLCHoklch(61.21% 0.22 302.4)
XYZxyz(33.0549, 20.1995, 83.0298)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F56EE #A5EE56
analogous
#5659EE #9F56EE #EB56EE
triadic
#9F56EE #EE9F56 #56EE9F
tetradic
#9F56EE #EE5659 #A5EE56 #56EEEB
square
#9F56EE #EE5659 #A5EE56 #56EEEB
split-complementary
#9F56EE #EEEB56 #59EE56
monochromatic
#6212B7 #7F1EE8 #9F56EE #BF8EF4 #DEC5F9

Accessibility & contrast

On white

4.17
#9F56EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#9F56EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F56EE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F56EE#FFFFFF#000000##000000
##9F56EE1.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)
#007BF3
Deuteranopia (green-blind)
#1D7CEB
Tritanopia (blue-blind)
#8F779B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9f56ee;
/* rgb */ color: rgb(159, 86, 238);
/* oklch */ color: oklch(61.2% 0.220 302.4);
Tailwind
colors: {
  custom: {
    50: '#c08af4',
    500: '#9f56ee',
    950: '#000000',
  },
}
SCSS
$custom: #9f56ee;
$custom-light: #c08af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f56ee",
  "rgb": {
    "r": 159,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 268.816,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61206,
    "c": 0.21988,
    "h": 302.4
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#9F56EE
secondary
#D1EBB5
accent
#DE0777
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F56EE

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

Preview Lab → · Contrast checker → · Palette generator →

#9F56EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva