#915BEA#915BEA

#915BEA is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.2% C 0.207 H 297.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#915BEA
RGBrgb(145, 91, 234)
HSLhsl(263, 77%, 64%)
HSVhsv(263, 61%, 92%)
CMYKcmyk(38%, 61.1%, 0%, 8.2%)
CIE-LABlab(51.20, 51.78, -64.60)
CIE-LCHlch(51.20, 82.79, 308.71°)
OKLaboklab(60.15% 0.0943 -0.1838)
OKLCHoklch(60.15% 0.207 297.2)
XYZxyz(30.2656, 19.4419, 79.9840)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BEA #B4EA5B
analogous
#5B6CEA #915BEA #D85BEA
triadic
#915BEA #EA915B #5BEA91
tetradic
#915BEA #EA5B6C #B4EA5B #5BEAD8
square
#915BEA #EA5B6C #B4EA5B #5BEAD8
split-complementary
#915BEA #EAD85B #6CEA5B
monochromatic
#5217B4 #6D25E3 #915BEA #B591F1 #DAC8F8

Accessibility & contrast

On white

4.30
#915BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#915BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915BEA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BEA#FFFFFF#000000##000000
##915BEA1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#1378E7
Tritanopia (blue-blind)
#7C7B9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #915bea;
/* rgb */ color: rgb(145, 91, 234);
/* oklch */ color: oklch(60.2% 0.207 297.2);
Tailwind
colors: {
  custom: {
    50: '#b78cf2',
    500: '#915bea',
    950: '#000000',
  },
}
SCSS
$custom: #915bea;
$custom-light: #b78cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#915bea",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 262.657,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60151,
    "c": 0.20662,
    "h": 297.2
  },
  "luminance": 0.19442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #915BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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