#915BE7#915BE7

#915BE7 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.9% C 0.203 H 297.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#915BE7
RGBrgb(145, 91, 231)
HSLhsl(263, 74%, 63%)
HSVhsv(263, 61%, 91%)
CMYKcmyk(37.2%, 60.6%, 0%, 9.4%)
CIE-LABlab(51.00, 51.01, -63.23)
CIE-LCHlch(51.00, 81.24, 308.90°)
OKLaboklab(59.95% 0.0945 -0.1798)
OKLCHoklch(59.95% 0.203 297.7)
XYZxyz(29.8383, 19.2710, 77.7334)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BE7 #B1E75B
analogous
#5B6BE7 #915BE7 #D75BE7
triadic
#915BE7 #E7915B #5BE791
tetradic
#915BE7 #E75B6B #B1E75B #5BE7D7
square
#915BE7 #E75B6B #B1E75B #5BE7D7
split-complementary
#915BE7 #E7D75B #6BE75B
monochromatic
#5319AE #6D26DF #915BE7 #B590EF #D9C6F7

Accessibility & contrast

On white

4.33
#915BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#915BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915BE7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BE7#FFFFFF#000000##000000
##915BE71.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#1C78E4
Tritanopia (blue-blind)
#7D7A99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #915be7;
/* rgb */ color: rgb(145, 91, 231);
/* oklch */ color: oklch(59.9% 0.203 297.7);
Tailwind
colors: {
  custom: {
    50: '#b68cef',
    500: '#915be7',
    950: '#000000',
  },
}
SCSS
$custom: #915be7;
$custom-light: #b68cef;
$custom-dark: #000000;
JSON
{
  "hex": "#915be7",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 263.143,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59945,
    "c": 0.20313,
    "h": 297.7
  },
  "luminance": 0.19271
}

Semantic roles & 50–950 ramp

primary
#915BE7
secondary
#D5E8B6
accent
#D70F8A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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