#9F56FB#9F56FB

#9F56FB is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.1% C 0.234 H 299.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9F56FB
RGBrgb(159, 86, 251)
HSLhsl(267, 95%, 66%)
HSVhsv(267, 66%, 98%)
CMYKcmyk(36.7%, 65.7%, 0%, 1.6%)
CIE-LABlab(52.94, 61.34, -71.21)
CIE-LCHlch(52.94, 93.99, 310.75°)
OKLaboklab(62.11% 0.1165 -0.2028)
OKLCHoklch(62.11% 0.234 299.9)
XYZxyz(35.0342, 20.9912, 93.4540)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F56FB #B2FB56
analogous
#565FFB #9F56FB #F156FB
triadic
#9F56FB #FB9F56 #56FB9F
tetradic
#9F56FB #FB565F #B2FB56 #56FBF1
square
#9F56FB #FB565F #B2FB56 #56FBF1
split-complementary
#9F56FB #FBF156 #5FFB56
monochromatic
#6005D2 #7D1AFA #9F56FB #C192FC #E3CEFE

Accessibility & contrast

On white

4.04
#9F56FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9F56FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F56FB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F56FB#FFFFFF#000000##000000
##9F56FB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#007DF8
Tritanopia (blue-blind)
#8A7CA2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9f56fb;
/* rgb */ color: rgb(159, 86, 251);
/* oklch */ color: oklch(62.1% 0.234 299.9);
Tailwind
colors: {
  custom: {
    50: '#c18afe',
    500: '#9f56fb',
    950: '#000000',
  },
}
SCSS
$custom: #9f56fb;
$custom-light: #c18afe;
$custom-dark: #000000;
JSON
{
  "hex": "#9f56fb",
  "rgb": {
    "r": 159,
    "g": 86,
    "b": 251
  },
  "hsl": {
    "h": 266.545,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62115,
    "c": 0.23389,
    "h": 299.9
  },
  "luminance": 0.20992
}

Semantic roles & 50–950 ramp

primary
#9F56FB
secondary
#DAF2BB
accent
#E60080
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9F56FB

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

Preview Lab → · Contrast checker → · Palette generator →

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