#9F4BCF#9F4BCF

#9F4BCF is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.202 H 310.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9F4BCF
RGBrgb(159, 75, 207)
HSLhsl(278, 58%, 55%)
HSVhsv(278, 64%, 81%)
CMYKcmyk(23.2%, 63.8%, 0%, 18.8%)
CIE-LABlab(48.14, 56.50, -54.10)
CIE-LCHlch(48.14, 78.23, 316.24°)
OKLaboklab(57.75% 0.1323 -0.1525)
OKLCHoklch(57.75% 0.202 310.9)
XYZxyz(28.0745, 16.9087, 60.8042)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BCF #7BCF4B
analogous
#5D4BCF #9F4BCF #CF4BBD
triadic
#9F4BCF #CF9F4B #4BCF9F
tetradic
#9F4BCF #CF5D4B #7BCF4B #4BBDCF
square
#9F4BCF #CF5D4B #7BCF4B #4BBDCF
split-complementary
#9F4BCF #BDCF4B #4BCF5D
monochromatic
#5C227E #802EAE #9F4BCF #B97BDC #D3ACE9

Accessibility & contrast

On white

4.79
#9F4BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9F4BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BCF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BCF#FFFFFF#000000##FFFFFF
##9F4BCF1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#3C74CC
Tritanopia (blue-blind)
#996586
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f4bcf;
/* rgb */ color: rgb(159, 75, 207);
/* oklch */ color: oklch(57.7% 0.202 310.9);
Tailwind
colors: {
  custom: {
    50: '#bf82de',
    500: '#9f4bcf',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bcf;
$custom-light: #bf82de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bcf",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 278.182,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57747,
    "c": 0.20189,
    "h": 310.9
  },
  "luminance": 0.16908
}

Semantic roles & 50–950 ramp

primary
#9F4BCF
secondary
#B3D69F
accent
#E1477F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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