#955BEB#955BEB

#955BEB is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.6% C 0.208 H 298.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#955BEB
RGBrgb(149, 91, 235)
HSLhsl(264, 78%, 64%)
HSVhsv(264, 61%, 92%)
CMYKcmyk(36.6%, 61.3%, 0%, 7.8%)
CIE-LABlab(51.69, 52.88, -64.35)
CIE-LCHlch(51.69, 83.29, 309.41°)
OKLaboklab(60.62% 0.0995 -0.183)
OKLCHoklch(60.62% 0.208 298.5)
XYZxyz(31.1272, 19.8695, 80.7764)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955BEB #B1EB5B
analogous
#5B69EB #955BEB #DD5BEB
triadic
#955BEB #EB955B #5BEB95
tetradic
#955BEB #EB5B69 #B1EB5B #5BEBDD
square
#955BEB #EB5B69 #B1EB5B #5BEBDD
split-complementary
#955BEB #EBDD5B #69EB5B
monochromatic
#5616B5 #7224E4 #955BEB #B892F2 #DCC8F8

Accessibility & contrast

On white

4.22
#955BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#955BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955BEB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955BEB#FFFFFF#000000##000000
##955BEB1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#1B7AE8
Tritanopia (blue-blind)
#817B9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #955beb;
/* rgb */ color: rgb(149, 91, 235);
/* oklch */ color: oklch(60.6% 0.208 298.5);
Tailwind
colors: {
  custom: {
    50: '#b98cf2',
    500: '#955beb',
    950: '#000000',
  },
}
SCSS
$custom: #955beb;
$custom-light: #b98cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#955beb",
  "rgb": {
    "r": 149,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 264.167,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60624,
    "c": 0.20826,
    "h": 298.5
  },
  "luminance": 0.1987
}

Semantic roles & 50–950 ramp

primary
#955BEB
secondary
#D6EAB8
accent
#DB0B87
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #955BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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