#915EEC#915EEC

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

Color values

HEX#915EEC
RGBrgb(145, 94, 236)
HSLhsl(262, 79%, 65%)
HSVhsv(262, 60%, 93%)
CMYKcmyk(38.6%, 60.2%, 0%, 7.5%)
CIE-LABlab(51.93, 50.70, -64.54)
CIE-LCHlch(51.93, 82.07, 308.15°)
OKLaboklab(60.72% 0.0909 -0.1837)
OKLCHoklch(60.72% 0.205 296.3)
XYZxyz(30.8162, 20.0807, 81.5930)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915EEC #B9EC5E
analogous
#5E72EC #915EEC #D85EEC
triadic
#915EEC #EC915E #5EEC91
tetradic
#915EEC #EC5E72 #B9EC5E #5EECD8
square
#915EEC #EC5E72 #B9EC5E #5EECD8
split-complementary
#915EEC #ECD85E #72EC5E
monochromatic
#5116BA #6C27E6 #915EEC #B695F2 #DCCBF9

Accessibility & contrast

On white

4.19
#915EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#915EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915EEC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915EEC#FFFFFF#000000##000000
##915EEC1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#187AE9
Tritanopia (blue-blind)
#7B7D9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #915eec;
/* rgb */ color: rgb(145, 94, 236);
/* oklch */ color: oklch(60.7% 0.205 296.3);
Tailwind
colors: {
  custom: {
    50: '#b78ef3',
    500: '#915eec',
    950: '#000000',
  },
}
SCSS
$custom: #915eec;
$custom-light: #b78ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#915eec",
  "rgb": {
    "r": 145,
    "g": 94,
    "b": 236
  },
  "hsl": {
    "h": 261.549,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60723,
    "c": 0.20492,
    "h": 296.3
  },
  "luminance": 0.20081
}

Semantic roles & 50–950 ramp

primary
#915EEC
secondary
#DAEBBB
accent
#DB0A90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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