#915BE4#915BE4

#915BE4 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.7% C 0.200 H 298.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#915BE4
RGBrgb(145, 91, 228)
HSLhsl(264, 72%, 63%)
HSVhsv(264, 60%, 89%)
CMYKcmyk(36.4%, 60.1%, 0%, 10.6%)
CIE-LABlab(50.81, 50.25, -61.85)
CIE-LCHlch(50.81, 79.69, 309.09°)
OKLaboklab(59.74% 0.0946 -0.1758)
OKLCHoklch(59.74% 0.2 298.3)
XYZxyz(29.4182, 19.1030, 75.5211)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BE4 #AEE45B
analogous
#5B69E4 #915BE4 #D65BE4
triadic
#915BE4 #E4915B #5BE491
tetradic
#915BE4 #E45B69 #AEE45B #5BE4D6
square
#915BE4 #E45B69 #AEE45B #5BE4D6
split-complementary
#915BE4 #E4D65B #69E45B
monochromatic
#531CA9 #6E26DB #915BE4 #B490ED #D7C4F5

Accessibility & contrast

On white

4.36
#915BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#915BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915BE4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BE4#FFFFFF#000000##000000
##915BE41.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#2378E1
Tritanopia (blue-blind)
#7E7997
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #915be4;
/* rgb */ color: rgb(145, 91, 228);
/* oklch */ color: oklch(59.7% 0.200 298.3);
Tailwind
colors: {
  custom: {
    50: '#b68ced',
    500: '#915be4',
    950: '#000000',
  },
}
SCSS
$custom: #915be4;
$custom-light: #b68ced;
$custom-dark: #000000;
JSON
{
  "hex": "#915be4",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 263.65,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5974,
    "c": 0.19961,
    "h": 298.3
  },
  "luminance": 0.19103
}

Semantic roles & 50–950 ramp

primary
#915BE4
secondary
#D3E6B4
accent
#D41287
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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