#915CEC#915CEC

#915CEC is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.208 H 296.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#915CEC
RGBrgb(145, 92, 236)
HSLhsl(262, 79%, 64%)
HSVhsv(262, 61%, 93%)
CMYKcmyk(38.6%, 61%, 0%, 7.5%)
CIE-LABlab(51.53, 51.76, -65.19)
CIE-LCHlch(51.53, 83.24, 308.45°)
OKLaboklab(60.43% 0.0931 -0.1856)
OKLCHoklch(60.43% 0.208 296.6)
XYZxyz(30.6406, 19.7296, 81.5345)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CEC #B7EC5C
analogous
#5C6FEC #915CEC #D95CEC
triadic
#915CEC #EC915C #5CEC91
tetradic
#915CEC #EC5C6F #B7EC5C #5CECD9
square
#915CEC #EC5C6F #B7EC5C #5CECD9
split-complementary
#915CEC #ECD95C #6FEC5C
monochromatic
#5115B8 #6C25E6 #915CEC #B693F2 #DBCAF9

Accessibility & contrast

On white

4.25
#915CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#915CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915CEC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CEC#FFFFFF#000000##000000
##915CEC1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#0F79E9
Tritanopia (blue-blind)
#7B7C9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #915cec;
/* rgb */ color: rgb(145, 92, 236);
/* oklch */ color: oklch(60.4% 0.208 296.6);
Tailwind
colors: {
  custom: {
    50: '#b78df3',
    500: '#915cec',
    950: '#000000',
  },
}
SCSS
$custom: #915cec;
$custom-light: #b78df3;
$custom-dark: #000000;
JSON
{
  "hex": "#915cec",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 262.083,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60433,
    "c": 0.20761,
    "h": 296.6
  },
  "luminance": 0.1973
}

Semantic roles & 50–950 ramp

primary
#915CEC
secondary
#D8EBB9
accent
#DB0A8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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