#955DEB#955DEB

#955DEB is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.9% C 0.206 H 298.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#955DEB
RGBrgb(149, 93, 235)
HSLhsl(264, 78%, 64%)
HSVhsv(264, 60%, 92%)
CMYKcmyk(36.6%, 60.4%, 0%, 7.8%)
CIE-LABlab(52.08, 51.83, -63.72)
CIE-LCHlch(52.08, 82.13, 309.13°)
OKLaboklab(60.91% 0.0972 -0.1811)
OKLCHoklch(60.91% 0.206 298.2)
XYZxyz(31.3004, 20.2160, 80.8342)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955DEB #B3EB5D
analogous
#5D6CEB #955DEB #DC5DEB
triadic
#955DEB #EB955D #5DEB95
tetradic
#955DEB #EB5D6C #B3EB5D #5DEBDC
square
#955DEB #EB5D6C #B3EB5D #5DEBDC
split-complementary
#955DEB #EBDC5D #6CEB5D
monochromatic
#5617B7 #7127E4 #955DEB #B993F2 #DCCAF8

Accessibility & contrast

On white

4.16
#955DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#955DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955DEB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955DEB#FFFFFF#000000##000000
##955DEB1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#217BE8
Tritanopia (blue-blind)
#817C9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #955deb;
/* rgb */ color: rgb(149, 93, 235);
/* oklch */ color: oklch(60.9% 0.206 298.2);
Tailwind
colors: {
  custom: {
    50: '#b98df2',
    500: '#955deb',
    950: '#000000',
  },
}
SCSS
$custom: #955deb;
$custom-light: #b98df2;
$custom-dark: #000000;
JSON
{
  "hex": "#955deb",
  "rgb": {
    "r": 149,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 263.662,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60909,
    "c": 0.20556,
    "h": 298.2
  },
  "luminance": 0.20216
}

Semantic roles & 50–950 ramp

primary
#955DEB
secondary
#D7EBB9
accent
#DA0B89
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #955DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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