#915FE9#915FE9

#915FE9 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.200 H 296.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#915FE9
RGBrgb(145, 95, 233)
HSLhsl(262, 76%, 64%)
HSVhsv(262, 59%, 91%)
CMYKcmyk(37.8%, 59.2%, 0%, 8.6%)
CIE-LABlab(51.94, 49.39, -62.85)
CIE-LCHlch(51.94, 79.93, 308.16°)
OKLaboklab(60.67% 0.0898 -0.1787)
OKLCHoklch(60.67% 0.2 296.7)
XYZxyz(30.4735, 20.0868, 79.3466)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915FE9 #B7E95F
analogous
#5F72E9 #915FE9 #D65FE9
triadic
#915FE9 #E9915F #5FE991
tetradic
#915FE9 #E95F72 #B7E95F #5FE9D6
square
#915FE9 #E95F72 #B7E95F #5FE9D6
split-complementary
#915FE9 #E9D65F #72E95F
monochromatic
#5119B5 #6C29E2 #915FE9 #B695F0 #DBCBF8

Accessibility & contrast

On white

4.19
#915FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#915FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915FE9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915FE9#FFFFFF#000000##000000
##915FE91.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#237AE6
Tritanopia (blue-blind)
#7C7D9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #915fe9;
/* rgb */ color: rgb(145, 95, 233);
/* oklch */ color: oklch(60.7% 0.200 296.7);
Tailwind
colors: {
  custom: {
    50: '#b68ef1',
    500: '#915fe9',
    950: '#000000',
  },
}
SCSS
$custom: #915fe9;
$custom-light: #b68ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#915fe9",
  "rgb": {
    "r": 145,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 261.739,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60666,
    "c": 0.20001,
    "h": 296.7
  },
  "luminance": 0.20087
}

Semantic roles & 50–950 ramp

primary
#915FE9
secondary
#D8EABA
accent
#D80D8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915FE9

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

Preview Lab → · Contrast checker → · Palette generator →

#915FE9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva