#9F4BCE#9F4BCE

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

Color values

HEX#9F4BCE
RGBrgb(159, 75, 206)
HSLhsl(278, 57%, 55%)
HSVhsv(278, 64%, 81%)
CMYKcmyk(22.8%, 63.6%, 0%, 19.2%)
CIE-LABlab(48.08, 56.28, -53.63)
CIE-LCHlch(48.08, 77.74, 316.38°)
OKLaboklab(57.68% 0.1323 -0.1511)
OKLCHoklch(57.68% 0.201 311.2)
XYZxyz(27.9527, 16.8600, 60.1623)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BCE #7ACE4B
analogous
#5D4BCE #9F4BCE #CE4BBC
triadic
#9F4BCE #CE9F4B #4BCE9F
tetradic
#9F4BCE #CE5D4B #7ACE4B #4BBCCE
square
#9F4BCE #CE5D4B #7ACE4B #4BBCCE
split-complementary
#9F4BCE #BCCE4B #4BCE5D
monochromatic
#5C227D #802FAD #9F4BCE #B97BDB #D2ABE8

Accessibility & contrast

On white

4.80
#9F4BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9F4BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BCE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BCE#FFFFFF#000000##FFFFFF
##9F4BCE1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016ED2
Deuteranopia (green-blind)
#3D74CB
Tritanopia (blue-blind)
#996586
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9f4bce;
/* rgb */ color: rgb(159, 75, 206);
/* oklch */ color: oklch(57.7% 0.201 311.2);
Tailwind
colors: {
  custom: {
    50: '#bf82de',
    500: '#9f4bce',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bce;
$custom-light: #bf82de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bce",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 278.473,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57683,
    "c": 0.20087,
    "h": 311.2
  },
  "luminance": 0.16859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F4BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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