#955BEC#955BEC

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

Color values

HEX#955BEC
RGBrgb(149, 91, 236)
HSLhsl(264, 79%, 64%)
HSVhsv(264, 61%, 93%)
CMYKcmyk(36.9%, 61.4%, 0%, 7.5%)
CIE-LABlab(51.76, 53.13, -64.80)
CIE-LCHlch(51.76, 83.80, 309.35°)
OKLaboklab(60.69% 0.0994 -0.1843)
OKLCHoklch(60.69% 0.209 298.3)
XYZxyz(31.2720, 19.9275, 81.5394)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955BEC #B2EC5B
analogous
#5B6AEC #955BEC #DE5BEC
triadic
#955BEC #EC955B #5BEC95
tetradic
#955BEC #EC5B6A #B2EC5B #5BECDE
square
#955BEC #EC5B6A #B2EC5B #5BECDE
split-complementary
#955BEC #ECDE5B #6AEC5B
monochromatic
#5615B7 #7224E6 #955BEC #B892F2 #DCC9F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##955BEC#FFFFFF#000000##000000
##955BEC1.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)
#007CF1
Deuteranopia (green-blind)
#187AE9
Tritanopia (blue-blind)
#817B9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #955bec;
/* rgb */ color: rgb(149, 91, 236);
/* oklch */ color: oklch(60.7% 0.209 298.3);
Tailwind
colors: {
  custom: {
    50: '#b98cf3',
    500: '#955bec',
    950: '#000000',
  },
}
SCSS
$custom: #955bec;
$custom-light: #b98cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#955bec",
  "rgb": {
    "r": 149,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 264,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60693,
    "c": 0.20942,
    "h": 298.3
  },
  "luminance": 0.19928
}

Semantic roles & 50–950 ramp

primary
#955BEC
secondary
#D6EBB8
accent
#DC0A88
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #955BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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