#955BE7#955BE7

#955BE7 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.204 H 299.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#955BE7
RGBrgb(149, 91, 231)
HSLhsl(265, 74%, 63%)
HSVhsv(265, 61%, 91%)
CMYKcmyk(35.5%, 60.6%, 0%, 9.4%)
CIE-LABlab(51.43, 51.88, -62.52)
CIE-LCHlch(51.43, 81.24, 309.69°)
OKLaboklab(60.35% 0.0997 -0.1776)
OKLCHoklch(60.35% 0.204 299.3)
XYZxyz(30.5558, 19.6409, 77.7671)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955BE7 #ADE75B
analogous
#5B67E7 #955BE7 #DB5BE7
triadic
#955BE7 #E7955B #5BE795
tetradic
#955BE7 #E75B67 #ADE75B #5BE7DB
square
#955BE7 #E75B67 #ADE75B #5BE7DB
split-complementary
#955BE7 #E7DB5B #67E75B
monochromatic
#5719AE #7226DF #955BE7 #B890EF #DAC6F7

Accessibility & contrast

On white

4.26
#955BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#955BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955BE7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955BE7#FFFFFF#000000##000000
##955BE71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#2579E4
Tritanopia (blue-blind)
#837999
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #955be7;
/* rgb */ color: rgb(149, 91, 231);
/* oklch */ color: oklch(60.4% 0.204 299.3);
Tailwind
colors: {
  custom: {
    50: '#b98cef',
    500: '#955be7',
    950: '#000000',
  },
}
SCSS
$custom: #955be7;
$custom-light: #b98cef;
$custom-dark: #000000;
JSON
{
  "hex": "#955be7",
  "rgb": {
    "r": 149,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 264.857,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60352,
    "c": 0.20366,
    "h": 299.3
  },
  "luminance": 0.19641
}

Semantic roles & 50–950 ramp

primary
#955BE7
secondary
#D3E8B6
accent
#D70F84
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #955BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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