#9F4BEC#9F4BEC

#9F4BEC is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.7% C 0.232 H 304.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9F4BEC
RGBrgb(159, 75, 236)
HSLhsl(271, 81%, 61%)
HSVhsv(271, 68%, 93%)
CMYKcmyk(32.6%, 68.2%, 0%, 7.5%)
CIE-LABlab(50.05, 62.97, -67.51)
CIE-LCHlch(50.05, 92.31, 313.01°)
OKLaboklab(59.72% 0.1296 -0.1919)
OKLCHoklch(59.72% 0.232 304)
XYZxyz(31.9510, 18.4593, 81.2204)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BEC #98EC4B
analogous
#4E4BEC #9F4BEC #EC4BE9
triadic
#9F4BEC #EC9F4B #4BEC9F
tetradic
#9F4BEC #EC4E4B #98EC4B #4BE9EC
square
#9F4BEC #EC4E4B #98EC4B #4BE9EC
split-complementary
#9F4BEC #E9EC4B #4BEC4E
monochromatic
#6212AB #8118E2 #9F4BEC #BD82F2 #DABAF8

Accessibility & contrast

On white

4.48
#9F4BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9F4BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4BEC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BEC#FFFFFF#000000##000000
##9F4BEC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#907096
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f4bec;
/* rgb */ color: rgb(159, 75, 236);
/* oklch */ color: oklch(59.7% 0.232 304.0);
Tailwind
colors: {
  custom: {
    50: '#c183f3',
    500: '#9f4bec',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bec;
$custom-light: #c183f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bec",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 271.304,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59718,
    "c": 0.23157,
    "h": 304
  },
  "luminance": 0.18459
}

Semantic roles & 50–950 ramp

primary
#9F4BEC
secondary
#C8E8AB
accent
#DD086E
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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