#915AEB#915AEB

#915AEB is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.1% C 0.209 H 297.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#915AEB
RGBrgb(145, 90, 235)
HSLhsl(263, 78%, 64%)
HSVhsv(263, 62%, 92%)
CMYKcmyk(38.3%, 61.7%, 0%, 7.8%)
CIE-LABlab(51.07, 52.56, -65.37)
CIE-LCHlch(51.07, 83.88, 308.80°)
OKLaboklab(60.08% 0.0954 -0.1861)
OKLCHoklch(60.08% 0.209 297.1)
XYZxyz(30.3248, 19.3297, 80.7145)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915AEB #B4EB5A
analogous
#5A6BEB #915AEB #DA5AEB
triadic
#915AEB #EB915A #5AEB91
tetradic
#915AEB #EB5A6B #B4EB5A #5AEBDA
square
#915AEB #EB5A6B #B4EB5A #5AEBDA
split-complementary
#915AEB #EBDA5A #6BEB5A
monochromatic
#5216B5 #6D23E4 #915AEB #B591F2 #DAC7F8

Accessibility & contrast

On white

4.32
#915AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#915AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915AEB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915AEB#FFFFFF#000000##000000
##915AEB1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0978E8
Tritanopia (blue-blind)
#7B7A9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #915aeb;
/* rgb */ color: rgb(145, 90, 235);
/* oklch */ color: oklch(60.1% 0.209 297.1);
Tailwind
colors: {
  custom: {
    50: '#b78bf2',
    500: '#915aeb',
    950: '#000000',
  },
}
SCSS
$custom: #915aeb;
$custom-light: #b78bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#915aeb",
  "rgb": {
    "r": 145,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 262.759,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60078,
    "c": 0.20911,
    "h": 297.1
  },
  "luminance": 0.1933
}

Semantic roles & 50–950 ramp

primary
#915AEB
secondary
#D7EAB7
accent
#DB0B8C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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