#9F4BCB#9F4BCB

#9F4BCB is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.5% C 0.198 H 312.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9F4BCB
RGBrgb(159, 75, 203)
HSLhsl(279, 55%, 55%)
HSVhsv(279, 63%, 80%)
CMYKcmyk(21.7%, 63.1%, 0%, 20.4%)
CIE-LABlab(47.90, 55.64, -52.20)
CIE-LCHlch(47.90, 76.29, 316.83°)
OKLaboklab(57.49% 0.1324 -0.1469)
OKLCHoklch(57.49% 0.198 312)
XYZxyz(27.5917, 16.7156, 58.2613)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BCB #77CB4B
analogous
#5F4BCB #9F4BCB #CB4BB7
triadic
#9F4BCB #CB9F4B #4BCB9F
tetradic
#9F4BCB #CB5F4B #77CB4B #4BB7CB
square
#9F4BCB #CB5F4B #77CB4B #4BB7CB
split-complementary
#9F4BCB #B7CB4B #4BCB5F
monochromatic
#5B2379 #7F31A8 #9F4BCB #B87AD9 #D2AAE6

Accessibility & contrast

On white

4.84
#9F4BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9F4BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BCB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BCB#FFFFFF#000000##FFFFFF
##9F4BCB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6DCF
Deuteranopia (green-blind)
#4073C8
Tritanopia (blue-blind)
#9A6484
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f4bcb;
/* rgb */ color: rgb(159, 75, 203);
/* oklch */ color: oklch(57.5% 0.198 312.0);
Tailwind
colors: {
  custom: {
    50: '#bf82db',
    500: '#9f4bcb',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bcb;
$custom-light: #bf82db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bcb",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 279.375,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57491,
    "c": 0.1978,
    "h": 312
  },
  "luminance": 0.16715
}

Semantic roles & 50–950 ramp

primary
#9F4BCB
secondary
#B0D49E
accent
#DF497D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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