#915FEA#915FEA

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

Color values

HEX#915FEA
RGBrgb(145, 95, 234)
HSLhsl(262, 77%, 65%)
HSVhsv(262, 59%, 92%)
CMYKcmyk(38%, 59.4%, 0%, 8.2%)
CIE-LABlab(52.00, 49.65, -63.31)
CIE-LCHlch(52.00, 80.45, 308.11°)
OKLaboklab(60.73% 0.0898 -0.18)
OKLCHoklch(60.73% 0.201 296.5)
XYZxyz(30.6167, 20.1441, 80.1011)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915FEA #B8EA5F
analogous
#5F72EA #915FEA #D75FEA
triadic
#915FEA #EA915F #5FEA91
tetradic
#915FEA #EA5F72 #B8EA5F #5FEAD7
square
#915FEA #EA5F72 #B8EA5F #5FEAD7
split-complementary
#915FEA #EAD75F #72EA5F
monochromatic
#5118B7 #6C29E3 #915FEA #B695F1 #DBCBF8

Accessibility & contrast

On white

4.18
#915FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#915FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915FEA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915FEA#FFFFFF#000000##000000
##915FEA1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#217AE7
Tritanopia (blue-blind)
#7B7D9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #915fea;
/* rgb */ color: rgb(145, 95, 234);
/* oklch */ color: oklch(60.7% 0.201 296.5);
Tailwind
colors: {
  custom: {
    50: '#b68ef1',
    500: '#915fea',
    950: '#000000',
  },
}
SCSS
$custom: #915fea;
$custom-light: #b68ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#915fea",
  "rgb": {
    "r": 145,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 261.583,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60734,
    "c": 0.2012,
    "h": 296.5
  },
  "luminance": 0.20145
}

Semantic roles & 50–950 ramp

primary
#915FEA
secondary
#D9EABA
accent
#D90C8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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