#9C4BEC#9C4BEC

#9C4BEC is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.4% C 0.231 H 303.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9C4BEC
RGBrgb(156, 75, 236)
HSLhsl(270, 81%, 61%)
HSVhsv(270, 68%, 93%)
CMYKcmyk(33.9%, 68.2%, 0%, 7.5%)
CIE-LABlab(49.69, 62.39, -68.11)
CIE-LCHlch(49.69, 92.37, 312.49°)
OKLaboklab(59.38% 0.1257 -0.1938)
OKLCHoklch(59.38% 0.231 303)
XYZxyz(31.3632, 18.1562, 81.1928)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4BEC #9BEC4B
analogous
#4B4BEC #9C4BEC #EC4BEC
triadic
#9C4BEC #EC9C4B #4BEC9C
tetradic
#9C4BEC #EC4B4B #9BEC4B #4BECEC
square
#9C4BEC #EC4B4B #9BEC4B #4BECEC
split-complementary
#9C4BEC #ECEC4B #4BEC4B
monochromatic
#5F12AB #7E18E2 #9C4BEC #BA82F2 #D9BAF8

Accessibility & contrast

On white

4.53
#9C4BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9C4BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C4BEC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4BEC#FFFFFF#000000##000000
##9C4BEC1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#8C7096
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9c4bec;
/* rgb */ color: rgb(156, 75, 236);
/* oklch */ color: oklch(59.4% 0.231 303.0);
Tailwind
colors: {
  custom: {
    50: '#bf83f3',
    500: '#9c4bec',
    950: '#000000',
  },
}
SCSS
$custom: #9c4bec;
$custom-light: #bf83f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4bec",
  "rgb": {
    "r": 156,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 270.186,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5938,
    "c": 0.23095,
    "h": 303
  },
  "luminance": 0.18156
}

Semantic roles & 50–950 ramp

primary
#9C4BEC
secondary
#C9E8AB
accent
#DD0872
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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