#955DEC#955DEC

#955DEC is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.0% C 0.207 H 298.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#955DEC
RGBrgb(149, 93, 236)
HSLhsl(263, 79%, 65%)
HSVhsv(263, 61%, 93%)
CMYKcmyk(36.9%, 60.6%, 0%, 7.5%)
CIE-LABlab(52.15, 52.08, -64.17)
CIE-LCHlch(52.15, 82.65, 309.06°)
OKLaboklab(60.98% 0.0972 -0.1825)
OKLCHoklch(60.98% 0.207 298)
XYZxyz(31.4453, 20.2740, 81.5972)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955DEC #B4EC5D
analogous
#5D6CEC #955DEC #DD5DEC
triadic
#955DEC #EC955D #5DEC95
tetradic
#955DEC #EC5D6C #B4EC5D #5DECDD
square
#955DEC #EC5D6C #B4EC5D #5DECDD
split-complementary
#955DEC #ECDD5D #6CEC5D
monochromatic
#5616B9 #7126E6 #955DEC #B994F2 #DDCBF9

Accessibility & contrast

On white

4.15
#955DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#955DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955DEC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955DEC#FFFFFF#000000##000000
##955DEC1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#1F7BE9
Tritanopia (blue-blind)
#817C9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #955dec;
/* rgb */ color: rgb(149, 93, 236);
/* oklch */ color: oklch(61.0% 0.207 298.0);
Tailwind
colors: {
  custom: {
    50: '#b98df3',
    500: '#955dec',
    950: '#000000',
  },
}
SCSS
$custom: #955dec;
$custom-light: #b98df3;
$custom-dark: #000000;
JSON
{
  "hex": "#955dec",
  "rgb": {
    "r": 149,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 263.497,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60977,
    "c": 0.20673,
    "h": 298
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#955DEC
secondary
#D8EBBA
accent
#DB0A89
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #955DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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