#955EF5#955EF5

#955EF5 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.7% C 0.216 H 296.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#955EF5
RGBrgb(149, 94, 245)
HSLhsl(262, 88%, 66%)
HSVhsv(262, 62%, 96%)
CMYKcmyk(39.2%, 61.6%, 0%, 3.9%)
CIE-LABlab(52.94, 53.84, -67.93)
CIE-LCHlch(52.94, 86.68, 308.40°)
OKLaboklab(61.74% 0.0955 -0.1935)
OKLCHoklch(61.74% 0.216 296.3)
XYZxyz(32.8743, 20.9869, 88.6874)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955EF5 #BEF55E
analogous
#5E73F5 #955EF5 #E05EF5
triadic
#955EF5 #F5955E #5EF595
tetradic
#955EF5 #F55E73 #BEF55E #5EF5E0
square
#955EF5 #F55E73 #BEF55E #5EF5E0
split-complementary
#955EF5 #F5E05E #73F55E
monochromatic
#520DCC #6F24F1 #955EF5 #BB98F9 #E1D1FC

Accessibility & contrast

On white

4.04
#955EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#955EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955EF5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955EF5#FFFFFF#000000##000000
##955EF51.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#7D80A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #955ef5;
/* rgb */ color: rgb(149, 94, 245);
/* oklch */ color: oklch(61.7% 0.216 296.3);
Tailwind
colors: {
  custom: {
    50: '#ba8ef9',
    500: '#955ef5',
    950: '#000000',
  },
}
SCSS
$custom: #955ef5;
$custom-light: #ba8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#955ef5",
  "rgb": {
    "r": 149,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 261.854,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61739,
    "c": 0.2158,
    "h": 296.3
  },
  "luminance": 0.20988
}

Semantic roles & 50–950 ramp

primary
#955EF5
secondary
#DEF0BF
accent
#E50192
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #955EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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