#955CEC#955CEC

#955CEC is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.8% C 0.208 H 298.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#955CEC
RGBrgb(149, 92, 236)
HSLhsl(264, 79%, 64%)
HSVhsv(264, 61%, 93%)
CMYKcmyk(36.9%, 61%, 0%, 7.5%)
CIE-LABlab(51.95, 52.61, -64.49)
CIE-LCHlch(51.95, 83.22, 309.21°)
OKLaboklab(60.83% 0.0983 -0.1834)
OKLCHoklch(60.83% 0.208 298.2)
XYZxyz(31.3581, 20.0996, 81.5681)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955CEC #B3EC5C
analogous
#5C6BEC #955CEC #DD5CEC
triadic
#955CEC #EC955C #5CEC95
tetradic
#955CEC #EC5C6B #B3EC5C #5CECDD
square
#955CEC #EC5C6B #B3EC5C #5CECDD
split-complementary
#955CEC #ECDD5C #6BEC5C
monochromatic
#5615B8 #7125E6 #955CEC #B993F2 #DCCAF9

Accessibility & contrast

On white

4.18
#955CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#955CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955CEC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955CEC#FFFFFF#000000##000000
##955CEC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #955cec;
/* rgb */ color: rgb(149, 92, 236);
/* oklch */ color: oklch(60.8% 0.208 298.2);
Tailwind
colors: {
  custom: {
    50: '#b98df3',
    500: '#955cec',
    950: '#000000',
  },
}
SCSS
$custom: #955cec;
$custom-light: #b98df3;
$custom-dark: #000000;
JSON
{
  "hex": "#955cec",
  "rgb": {
    "r": 149,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 263.75,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60834,
    "c": 0.20807,
    "h": 298.2
  },
  "luminance": 0.201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #955CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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