#9B5FF4#9B5FF4

#9B5FF4 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.4% C 0.214 H 298.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9B5FF4
RGBrgb(155, 95, 244)
HSLhsl(264, 87%, 66%)
HSVhsv(264, 61%, 96%)
CMYKcmyk(36.5%, 61.1%, 0%, 4.3%)
CIE-LABlab(53.69, 54.32, -66.12)
CIE-LCHlch(53.69, 85.57, 309.41°)
OKLaboklab(62.41% 0.1022 -0.188)
OKLCHoklch(62.41% 0.214 298.5)
XYZxyz(33.9348, 21.6842, 87.9680)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5FF4 #B8F45F
analogous
#5F6EF4 #9B5FF4 #E65FF4
triadic
#9B5FF4 #F49B5F #5FF49B
tetradic
#9B5FF4 #F45F6E #B8F45F #5FF4E6
square
#9B5FF4 #F45F6E #B8F45F #5FF4E6
split-complementary
#9B5FF4 #F4E65F #6EF45F
monochromatic
#5A0ECB #7726F0 #9B5FF4 #BF98F8 #E3D2FC

Accessibility & contrast

On white

3.93
#9B5FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#9B5FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5FF4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5FF4#FFFFFF#000000##000000
##9B5FF41.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F9
Deuteranopia (green-blind)
#1E7FF1
Tritanopia (blue-blind)
#8780A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9b5ff4;
/* rgb */ color: rgb(155, 95, 244);
/* oklch */ color: oklch(62.4% 0.214 298.5);
Tailwind
colors: {
  custom: {
    50: '#be8ff9',
    500: '#9b5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #9b5ff4;
$custom-light: #be8ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5ff4",
  "rgb": {
    "r": 155,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 264.161,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6241,
    "c": 0.214,
    "h": 298.5
  },
  "luminance": 0.21685
}

Semantic roles & 50–950 ramp

primary
#9B5FF4
secondary
#DCF0BF
accent
#E40289
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9B5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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