#955DF2#955DF2

#955DF2 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.4% C 0.214 H 296.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#955DF2
RGBrgb(149, 93, 242)
HSLhsl(263, 85%, 66%)
HSVhsv(263, 62%, 95%)
CMYKcmyk(38.4%, 61.6%, 0%, 5.1%)
CIE-LABlab(52.54, 53.60, -66.89)
CIE-LCHlch(52.54, 85.72, 308.71°)
OKLaboklab(61.39% 0.0968 -0.1905)
OKLCHoklch(61.39% 0.214 296.9)
XYZxyz(32.3317, 20.6285, 86.2655)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955DF2 #BAF25D
analogous
#5D6FF2 #955DF2 #DF5DF2
triadic
#955DF2 #F2955D #5DF295
tetradic
#955DF2 #F25D6F #BAF25D #5DF2DF
square
#955DF2 #F25D6F #BAF25D #5DF2DF
split-complementary
#955DF2 #F2DF5D #6FF25D
monochromatic
#5410C5 #7024ED #955DF2 #BA96F7 #DFCEFB

Accessibility & contrast

On white

4.10
#955DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#955DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955DF2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955DF2#FFFFFF#000000##000000
##955DF21.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#077CEF
Tritanopia (blue-blind)
#7E7E9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #955df2;
/* rgb */ color: rgb(149, 93, 242);
/* oklch */ color: oklch(61.4% 0.214 296.9);
Tailwind
colors: {
  custom: {
    50: '#ba8df7',
    500: '#955df2',
    950: '#000000',
  },
}
SCSS
$custom: #955df2;
$custom-light: #ba8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#955df2",
  "rgb": {
    "r": 149,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 262.55,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61389,
    "c": 0.21365,
    "h": 296.9
  },
  "luminance": 0.20629
}

Semantic roles & 50–950 ramp

primary
#955DF2
secondary
#DCEEBD
accent
#E2048E
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #955DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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