#915EF4#915EF4

#915EF4 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.3% C 0.214 H 294.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#915EF4
RGBrgb(145, 94, 244)
HSLhsl(260, 87%, 66%)
HSVhsv(260, 61%, 96%)
CMYKcmyk(40.6%, 61.5%, 0%, 4.3%)
CIE-LABlab(52.46, 52.77, -68.16)
CIE-LCHlch(52.46, 86.19, 307.75°)
OKLaboklab(61.28% 0.0904 -0.1943)
OKLCHoklch(61.28% 0.214 294.9)
XYZxyz(32.0046, 20.5561, 87.8519)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915EF4 #C1F45E
analogous
#5E76F4 #915EF4 #DC5EF4
triadic
#915EF4 #F4915E #5EF491
tetradic
#915EF4 #F45E76 #C1F45E #5EF4DC
square
#915EF4 #F45E76 #C1F45E #5EF4DC
split-complementary
#915EF4 #F4DC5E #76F45E
monochromatic
#4E0ECA #6A25F0 #915EF4 #B897F8 #DFD1FC

Accessibility & contrast

On white

4.11
#915EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#915EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915EF4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915EF4#FFFFFF#000000##000000
##915EF41.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF9
Deuteranopia (green-blind)
#007BF1
Tritanopia (blue-blind)
#7780A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #915ef4;
/* rgb */ color: rgb(145, 94, 244);
/* oklch */ color: oklch(61.3% 0.214 294.9);
Tailwind
colors: {
  custom: {
    50: '#b78ef9',
    500: '#915ef4',
    950: '#000000',
  },
}
SCSS
$custom: #915ef4;
$custom-light: #b78ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#915ef4",
  "rgb": {
    "r": 145,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 260.4,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61279,
    "c": 0.21431,
    "h": 294.9
  },
  "luminance": 0.20557
}

Semantic roles & 50–950 ramp

primary
#915EF4
secondary
#DFEFBE
accent
#E40297
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #915EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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