#9F56FF#9F56FF

#9F56FF is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.4% C 0.238 H 299.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9F56FF
RGBrgb(159, 86, 255)
HSLhsl(266, 100%, 67%)
HSVhsv(266, 66%, 100%)
CMYKcmyk(37.6%, 66.3%, 0%, 0%)
CIE-LABlab(53.22, 62.31, -72.98)
CIE-LCHlch(53.22, 95.96, 310.49°)
OKLaboklab(62.4% 0.116 -0.208)
OKLCHoklch(62.4% 0.238 299.1)
XYZxyz(35.6713, 21.2461, 96.8099)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F56FF #B6FF56
analogous
#5662FF #9F56FF #F356FF
triadic
#9F56FF #FF9F56 #56FF9F
tetradic
#9F56FF #FF5662 #B6FF56 #56FFF3
square
#9F56FF #FF5662 #B6FF56 #56FFF3
split-complementary
#9F56FF #FFF356 #62FF56
monochromatic
#5E00DB #7C19FF #9F56FF #C293FF #E5D0FF

Accessibility & contrast

On white

4.00
#9F56FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9F56FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F56FF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F56FF#FFFFFF#000000##000000
##9F56FF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#007EFB
Tritanopia (blue-blind)
#897EA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f56ff;
/* rgb */ color: rgb(159, 86, 255);
/* oklch */ color: oklch(62.4% 0.238 299.1);
Tailwind
colors: {
  custom: {
    50: '#c28aff',
    500: '#9f56ff',
    950: '#000000',
  },
}
SCSS
$custom: #9f56ff;
$custom-light: #c28aff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f56ff",
  "rgb": {
    "r": 159,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 265.917,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62402,
    "c": 0.23819,
    "h": 299.1
  },
  "luminance": 0.21247
}

Semantic roles & 50–950 ramp

primary
#9F56FF
secondary
#DCF3BD
accent
#E60082
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9F56FF

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

Preview Lab → · Contrast checker → · Palette generator →

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