#955AEF#955AEF

#955AEF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.214 H 297.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#955AEF
RGBrgb(149, 90, 239)
HSLhsl(264, 82%, 65%)
HSVhsv(264, 62%, 94%)
CMYKcmyk(37.7%, 62.3%, 0%, 6.3%)
CIE-LABlab(51.76, 54.40, -66.47)
CIE-LCHlch(51.76, 85.89, 309.30°)
OKLaboklab(60.76% 0.1003 -0.1892)
OKLCHoklch(60.76% 0.214 297.9)
XYZxyz(31.6266, 19.9334, 83.8259)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955AEF #B4EF5A
analogous
#5A6AEF #955AEF #DF5AEF
triadic
#955AEF #EF955A #5AEF95
tetradic
#955AEF #EF5A6A #B4EF5A #5AEFDF
square
#955AEF #EF5A6A #B4EF5A #5AEFDF
split-complementary
#955AEF #EFDF5A #6AEF5A
monochromatic
#5612BC #7122EA #955AEF #B992F4 #DDCAFA

Accessibility & contrast

On white

4.21
#955AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#955AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955AEF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955AEF#FFFFFF#000000##000000
##955AEF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#057AEC
Tritanopia (blue-blind)
#807B9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #955aef;
/* rgb */ color: rgb(149, 90, 239);
/* oklch */ color: oklch(60.8% 0.214 297.9);
Tailwind
colors: {
  custom: {
    50: '#ba8cf5',
    500: '#955aef',
    950: '#000000',
  },
}
SCSS
$custom: #955aef;
$custom-light: #ba8cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#955aef",
  "rgb": {
    "r": 149,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 263.758,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60761,
    "c": 0.21417,
    "h": 297.9
  },
  "luminance": 0.19934
}

Semantic roles & 50–950 ramp

primary
#955AEF
secondary
#D8ECB9
accent
#DF0789
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #955AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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