#955AEB#955AEB

#955AEB is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.5% C 0.210 H 298.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#955AEB
RGBrgb(149, 90, 235)
HSLhsl(264, 78%, 64%)
HSVhsv(264, 62%, 92%)
CMYKcmyk(36.6%, 61.7%, 0%, 7.8%)
CIE-LABlab(51.50, 53.40, -64.66)
CIE-LCHlch(51.50, 83.86, 309.55°)
OKLaboklab(60.48% 0.1006 -0.1839)
OKLCHoklch(60.48% 0.21 298.7)
XYZxyz(31.0422, 19.6997, 80.7481)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955AEB #B0EB5A
analogous
#5A67EB #955AEB #DD5AEB
triadic
#955AEB #EB955A #5AEB95
tetradic
#955AEB #EB5A67 #B0EB5A #5AEBDD
square
#955AEB #EB5A67 #B0EB5A #5AEBDD
split-complementary
#955AEB #EBDD5A #67EB5A
monochromatic
#5716B5 #7223E4 #955AEB #B891F2 #DBC7F8

Accessibility & contrast

On white

4.25
#955AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#955AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955AEB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955AEB#FFFFFF#000000##000000
##955AEB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#1879E8
Tritanopia (blue-blind)
#817A9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #955aeb;
/* rgb */ color: rgb(149, 90, 235);
/* oklch */ color: oklch(60.5% 0.210 298.7);
Tailwind
colors: {
  custom: {
    50: '#b98bf2',
    500: '#955aeb',
    950: '#000000',
  },
}
SCSS
$custom: #955aeb;
$custom-light: #b98bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#955aeb",
  "rgb": {
    "r": 149,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 264.414,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60484,
    "c": 0.20961,
    "h": 298.7
  },
  "luminance": 0.197
}

Semantic roles & 50–950 ramp

primary
#955AEB
secondary
#D5EAB7
accent
#DB0B86
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #955AEB

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

Preview Lab → · Contrast checker → · Palette generator →

#955AEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva