#955CEB#955CEB

#955CEB is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.207 H 298.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#955CEB
RGBrgb(149, 92, 235)
HSLhsl(264, 78%, 64%)
HSVhsv(264, 61%, 92%)
CMYKcmyk(36.6%, 60.9%, 0%, 7.8%)
CIE-LABlab(51.88, 52.36, -64.03)
CIE-LCHlch(51.88, 82.71, 309.27°)
OKLaboklab(60.77% 0.0983 -0.1821)
OKLCHoklch(60.77% 0.207 298.4)
XYZxyz(31.2132, 20.0416, 80.8051)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955CEB #B2EB5C
analogous
#5C6BEB #955CEB #DD5CEB
triadic
#955CEB #EB955C #5CEB95
tetradic
#955CEB #EB5C6B #B2EB5C #5CEBDD
square
#955CEB #EB5C6B #B2EB5C #5CEBDD
split-complementary
#955CEB #EBDD5C #6BEB5C
monochromatic
#5616B6 #7225E4 #955CEB #B893F2 #DCC9F8

Accessibility & contrast

On white

4.19
#955CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#955CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955CEB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955CEB#FFFFFF#000000##000000
##955CEB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#1E7AE8
Tritanopia (blue-blind)
#817B9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #955ceb;
/* rgb */ color: rgb(149, 92, 235);
/* oklch */ color: oklch(60.8% 0.207 298.4);
Tailwind
colors: {
  custom: {
    50: '#b98df2',
    500: '#955ceb',
    950: '#000000',
  },
}
SCSS
$custom: #955ceb;
$custom-light: #b98df2;
$custom-dark: #000000;
JSON
{
  "hex": "#955ceb",
  "rgb": {
    "r": 149,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 263.916,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60766,
    "c": 0.20692,
    "h": 298.4
  },
  "luminance": 0.20042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #955CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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