#955CEA#955CEA

#955CEA is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.7% C 0.206 H 298.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#955CEA
RGBrgb(149, 92, 234)
HSLhsl(264, 77%, 64%)
HSVhsv(264, 61%, 92%)
CMYKcmyk(36.3%, 60.7%, 0%, 8.2%)
CIE-LABlab(51.82, 52.11, -63.58)
CIE-LCHlch(51.82, 82.20, 309.34°)
OKLaboklab(60.7% 0.0984 -0.1807)
OKLCHoklch(60.7% 0.206 298.6)
XYZxyz(31.0692, 19.9840, 80.0464)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955CEA #B1EA5C
analogous
#5C6AEA #955CEA #DC5CEA
triadic
#955CEA #EA955C #5CEA95
tetradic
#955CEA #EA5C6A #B1EA5C #5CEADC
square
#955CEA #EA5C6A #B1EA5C #5CEADC
split-complementary
#955CEA #EADC5C #6AEA5C
monochromatic
#5617B4 #7226E3 #955CEA #B892F1 #DCC8F8

Accessibility & contrast

On white

4.20
#955CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#955CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955CEA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955CEA#FFFFFF#000000##000000
##955CEA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#217AE7
Tritanopia (blue-blind)
#827B9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #955cea;
/* rgb */ color: rgb(149, 92, 234);
/* oklch */ color: oklch(60.7% 0.206 298.6);
Tailwind
colors: {
  custom: {
    50: '#b98df1',
    500: '#955cea',
    950: '#000000',
  },
}
SCSS
$custom: #955cea;
$custom-light: #b98df1;
$custom-dark: #000000;
JSON
{
  "hex": "#955cea",
  "rgb": {
    "r": 149,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 264.085,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60698,
    "c": 0.20576,
    "h": 298.6
  },
  "luminance": 0.19984
}

Semantic roles & 50–950 ramp

primary
#955CEA
secondary
#D6EAB8
accent
#D90C87
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #955CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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