#955DF4#955DF4

#955DF4 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.5% C 0.216 H 296.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#955DF4
RGBrgb(149, 93, 244)
HSLhsl(262, 87%, 66%)
HSVhsv(262, 62%, 96%)
CMYKcmyk(38.9%, 61.9%, 0%, 4.3%)
CIE-LABlab(52.67, 54.11, -67.79)
CIE-LCHlch(52.67, 86.74, 308.60°)
OKLaboklab(61.53% 0.0967 -0.1931)
OKLCHoklch(61.53% 0.216 296.6)
XYZxyz(32.6337, 20.7493, 87.8561)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955DF4 #BCF45D
analogous
#5D70F4 #955DF4 #E15DF4
triadic
#955DF4 #F4955D #5DF495
tetradic
#955DF4 #F45D70 #BCF45D #5DF4E1
square
#955DF4 #F45D70 #BCF45D #5DF4E1
split-complementary
#955DF4 #F4E15D #70F45D
monochromatic
#530EC9 #7024F0 #955DF4 #BA96F8 #E0D0FC

Accessibility & contrast

On white

4.08
#955DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#955DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955DF4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955DF4#FFFFFF#000000##000000
##955DF41.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF9
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#7E7FA0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #955df4;
/* rgb */ color: rgb(149, 93, 244);
/* oklch */ color: oklch(61.5% 0.216 296.6);
Tailwind
colors: {
  custom: {
    50: '#ba8ef9',
    500: '#955df4',
    950: '#000000',
  },
}
SCSS
$custom: #955df4;
$custom-light: #ba8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#955df4",
  "rgb": {
    "r": 149,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 262.252,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61529,
    "c": 0.21596,
    "h": 296.6
  },
  "luminance": 0.2075
}

Semantic roles & 50–950 ramp

primary
#955DF4
secondary
#DDEFBE
accent
#E40290
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #955DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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