#915CE4#915CE4

#915CE4 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.9% C 0.198 H 298.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#915CE4
RGBrgb(145, 92, 228)
HSLhsl(263, 72%, 63%)
HSVhsv(263, 60%, 89%)
CMYKcmyk(36.4%, 59.6%, 0%, 10.6%)
CIE-LABlab(51.01, 49.72, -61.53)
CIE-LCHlch(51.01, 79.11, 308.94°)
OKLaboklab(59.89% 0.0935 -0.1748)
OKLCHoklch(59.89% 0.198 298.1)
XYZxyz(29.5043, 19.2751, 75.5498)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CE4 #AFE45C
analogous
#5C6BE4 #915CE4 #D55CE4
triadic
#915CE4 #E4915C #5CE491
tetradic
#915CE4 #E45C6B #AFE45C #5CE4D5
square
#915CE4 #E45C6B #AFE45C #5CE4D5
split-complementary
#915CE4 #E4D55C #6BE45C
monochromatic
#531CAA #6E27DB #915CE4 #B491ED #D8C5F5

Accessibility & contrast

On white

4.33
#915CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#915CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915CE4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CE4#FFFFFF#000000##000000
##915CE41.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#2678E1
Tritanopia (blue-blind)
#7E7997
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #915ce4;
/* rgb */ color: rgb(145, 92, 228);
/* oklch */ color: oklch(59.9% 0.198 298.1);
Tailwind
colors: {
  custom: {
    50: '#b68ced',
    500: '#915ce4',
    950: '#000000',
  },
}
SCSS
$custom: #915ce4;
$custom-light: #b68ced;
$custom-dark: #000000;
JSON
{
  "hex": "#915ce4",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 263.382,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59886,
    "c": 0.19824,
    "h": 298.1
  },
  "luminance": 0.19275
}

Semantic roles & 50–950 ramp

primary
#915CE4
secondary
#D3E7B5
accent
#D41288
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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