#9A4BEC#9A4BEC

#9A4BEC is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.2% C 0.231 H 302.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9A4BEC
RGBrgb(154, 75, 236)
HSLhsl(269, 81%, 61%)
HSVhsv(269, 68%, 93%)
CMYKcmyk(34.7%, 68.2%, 0%, 7.5%)
CIE-LABlab(49.45, 62.00, -68.51)
CIE-LCHlch(49.45, 92.40, 312.15°)
OKLaboklab(59.16% 0.123 -0.195)
OKLCHoklch(59.16% 0.231 302.2)
XYZxyz(30.9792, 17.9582, 81.1748)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4BEC #9DEC4B
analogous
#4B4CEC #9A4BEC #EB4BEC
triadic
#9A4BEC #EC9A4B #4BEC9A
tetradic
#9A4BEC #EC4B4C #9DEC4B #4BECEB
square
#9A4BEC #EC4B4C #9DEC4B #4BECEB
split-complementary
#9A4BEC #ECEB4B #4CEC4B
monochromatic
#5D12AB #7B18E2 #9A4BEC #B982F2 #D8BAF8

Accessibility & contrast

On white

4.57
#9A4BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9A4BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A4BEC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4BEC#FFFFFF#000000##000000
##9A4BEC1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#897196
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9a4bec;
/* rgb */ color: rgb(154, 75, 236);
/* oklch */ color: oklch(59.2% 0.231 302.2);
Tailwind
colors: {
  custom: {
    50: '#be83f3',
    500: '#9a4bec',
    950: '#000000',
  },
}
SCSS
$custom: #9a4bec;
$custom-light: #be83f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4bec",
  "rgb": {
    "r": 154,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 269.441,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59156,
    "c": 0.23057,
    "h": 302.2
  },
  "luminance": 0.17958
}

Semantic roles & 50–950 ramp

primary
#9A4BEC
secondary
#CAE8AB
accent
#DD0875
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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