#955DE7#955DE7

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

Color values

HEX#955DE7
RGBrgb(149, 93, 231)
HSLhsl(264, 74%, 64%)
HSVhsv(264, 60%, 91%)
CMYKcmyk(35.5%, 59.7%, 0%, 9.4%)
CIE-LABlab(51.82, 50.83, -61.88)
CIE-LCHlch(51.82, 80.08, 309.40°)
OKLaboklab(60.64% 0.0974 -0.1757)
OKLCHoklch(60.64% 0.201 299)
XYZxyz(30.7290, 19.9875, 77.8248)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955DE7 #AFE75D
analogous
#5D6AE7 #955DE7 #DA5DE7
triadic
#955DE7 #E7955D #5DE795
tetradic
#955DE7 #E75D6A #AFE75D #5DE7DA
square
#955DE7 #E75D6A #AFE75D #5DE7DA
split-complementary
#955DE7 #E7DA5D #6AE75D
monochromatic
#571AB0 #7228DF #955DE7 #B892EF #DBC8F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##955DE7#FFFFFF#000000##000000
##955DE71.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)
#007BEB
Deuteranopia (green-blind)
#297AE4
Tritanopia (blue-blind)
#837A99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #955de7;
/* rgb */ color: rgb(149, 93, 231);
/* oklch */ color: oklch(60.6% 0.201 299.0);
Tailwind
colors: {
  custom: {
    50: '#b98def',
    500: '#955de7',
    950: '#000000',
  },
}
SCSS
$custom: #955de7;
$custom-light: #b98def;
$custom-dark: #000000;
JSON
{
  "hex": "#955de7",
  "rgb": {
    "r": 149,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 264.348,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60639,
    "c": 0.20091,
    "h": 299
  },
  "luminance": 0.19988
}

Semantic roles & 50–950 ramp

primary
#955DE7
secondary
#D5E8B7
accent
#D60F86
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #955DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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