#915EE7#915EE7

#915EE7 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.4% C 0.199 H 297.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#915EE7
RGBrgb(145, 94, 231)
HSLhsl(262, 74%, 64%)
HSVhsv(262, 59%, 91%)
CMYKcmyk(37.2%, 59.3%, 0%, 9.4%)
CIE-LABlab(51.60, 49.41, -62.26)
CIE-LCHlch(51.60, 79.49, 308.44°)
OKLaboklab(60.38% 0.091 -0.177)
OKLCHoklch(60.38% 0.199 297.2)
XYZxyz(30.0999, 19.7942, 77.8206)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915EE7 #B4E75E
analogous
#5E6FE7 #915EE7 #D55EE7
triadic
#915EE7 #E7915E #5EE791
tetradic
#915EE7 #E75E6F #B4E75E #5EE7D5
square
#915EE7 #E75E6F #B4E75E #5EE7D5
split-complementary
#915EE7 #E7D55E #6FE75E
monochromatic
#521AB0 #6D29DF #915EE7 #B593EF #DAC9F7

Accessibility & contrast

On white

4.23
#915EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#915EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915EE7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915EE7#FFFFFF#000000##000000
##915EE71.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#2579E4
Tritanopia (blue-blind)
#7D7C9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #915ee7;
/* rgb */ color: rgb(145, 94, 231);
/* oklch */ color: oklch(60.4% 0.199 297.2);
Tailwind
colors: {
  custom: {
    50: '#b68eef',
    500: '#915ee7',
    950: '#000000',
  },
}
SCSS
$custom: #915ee7;
$custom-light: #b68eef;
$custom-dark: #000000;
JSON
{
  "hex": "#915ee7",
  "rgb": {
    "r": 145,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 262.336,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60383,
    "c": 0.19901,
    "h": 297.2
  },
  "luminance": 0.19795
}

Semantic roles & 50–950 ramp

primary
#915EE7
secondary
#D7E9B8
accent
#D60F8C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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