#955CEF#955CEF

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

Color values

HEX#955CEF
RGBrgb(149, 92, 239)
HSLhsl(263, 82%, 65%)
HSVhsv(263, 62%, 94%)
CMYKcmyk(37.7%, 61.5%, 0%, 6.3%)
CIE-LABlab(52.15, 53.36, -65.85)
CIE-LCHlch(52.15, 84.76, 309.02°)
OKLaboklab(61.04% 0.0981 -0.1874)
OKLCHoklch(61.04% 0.212 297.6)
XYZxyz(31.7976, 20.2754, 83.8829)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955CEF #B6EF5C
analogous
#5C6DEF #955CEF #DE5CEF
triadic
#955CEF #EF955C #5CEF95
tetradic
#955CEF #EF5C6D #B6EF5C #5CEFDE
square
#955CEF #EF5C6D #B6EF5C #5CEFDE
split-complementary
#955CEF #EFDE5C #6DEF5C
monochromatic
#5513BE #7124EA #955CEF #B994F4 #DDCBFA

Accessibility & contrast

On white

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

On black

5.06
#955CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955CEF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955CEF#FFFFFF#000000##000000
##955CEF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#117BEC
Tritanopia (blue-blind)
#807D9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #955cef;
/* rgb */ color: rgb(149, 92, 239);
/* oklch */ color: oklch(61.0% 0.212 297.6);
Tailwind
colors: {
  custom: {
    50: '#ba8df5',
    500: '#955cef',
    950: '#000000',
  },
}
SCSS
$custom: #955cef;
$custom-light: #ba8df5;
$custom-dark: #000000;
JSON
{
  "hex": "#955cef",
  "rgb": {
    "r": 149,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 263.265,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6104,
    "c": 0.21153,
    "h": 297.6
  },
  "luminance": 0.20276
}

Semantic roles & 50–950 ramp

primary
#955CEF
secondary
#D9ECBA
accent
#DF078B
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #955CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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