#915EE4#915EE4

#915EE4 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.2% C 0.195 H 297.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#915EE4
RGBrgb(145, 94, 228)
HSLhsl(263, 71%, 63%)
HSVhsv(263, 59%, 89%)
CMYKcmyk(36.4%, 58.8%, 0%, 10.6%)
CIE-LABlab(51.41, 48.65, -60.88)
CIE-LCHlch(51.41, 77.93, 308.63°)
OKLaboklab(60.18% 0.0911 -0.1729)
OKLCHoklch(60.18% 0.195 297.8)
XYZxyz(29.6798, 19.6262, 75.6083)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915EE4 #B1E45E
analogous
#5E6EE4 #915EE4 #D45EE4
triadic
#915EE4 #E4915E #5EE491
tetradic
#915EE4 #E45E6E #B1E45E #5EE4D4
square
#915EE4 #E45E6E #B1E45E #5EE4D4
split-complementary
#915EE4 #E4D45E #6EE45E
monochromatic
#531DAB #6D2ADB #915EE4 #B592ED #D9C7F6

Accessibility & contrast

On white

4.26
#915EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#915EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915EE4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915EE4#FFFFFF#000000##000000
##915EE41.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#077BE8
Deuteranopia (green-blind)
#2A79E1
Tritanopia (blue-blind)
#7E7B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #915ee4;
/* rgb */ color: rgb(145, 94, 228);
/* oklch */ color: oklch(60.2% 0.195 297.8);
Tailwind
colors: {
  custom: {
    50: '#b68eed',
    500: '#915ee4',
    950: '#000000',
  },
}
SCSS
$custom: #915ee4;
$custom-light: #b68eed;
$custom-dark: #000000;
JSON
{
  "hex": "#915ee4",
  "rgb": {
    "r": 145,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 262.836,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60181,
    "c": 0.19545,
    "h": 297.8
  },
  "luminance": 0.19627
}

Semantic roles & 50–950 ramp

primary
#915EE4
secondary
#D5E7B7
accent
#D3128A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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