#915DEC#915DEC

#915DEC is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.6% C 0.206 H 296.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#915DEC
RGBrgb(145, 93, 236)
HSLhsl(262, 79%, 65%)
HSVhsv(262, 61%, 93%)
CMYKcmyk(38.6%, 60.6%, 0%, 7.5%)
CIE-LABlab(51.73, 51.23, -64.87)
CIE-LCHlch(51.73, 82.66, 308.30°)
OKLaboklab(60.58% 0.092 -0.1846)
OKLCHoklch(60.58% 0.206 296.5)
XYZxyz(30.7278, 19.9040, 81.5635)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DEC #B8EC5D
analogous
#5D71EC #915DEC #D95DEC
triadic
#915DEC #EC915D #5DEC91
tetradic
#915DEC #EC5D71 #B8EC5D #5DECD9
square
#915DEC #EC5D71 #B8EC5D #5DECD9
split-complementary
#915DEC #ECD95D #71EC5D
monochromatic
#5116B9 #6C26E6 #915DEC #B694F2 #DBCBF9

Accessibility & contrast

On white

4.22
#915DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#915DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915DEC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915DEC#FFFFFF#000000##000000
##915DEC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#1479E9
Tritanopia (blue-blind)
#7B7D9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #915dec;
/* rgb */ color: rgb(145, 93, 236);
/* oklch */ color: oklch(60.6% 0.206 296.5);
Tailwind
colors: {
  custom: {
    50: '#b78df3',
    500: '#915dec',
    950: '#000000',
  },
}
SCSS
$custom: #915dec;
$custom-light: #b78df3;
$custom-dark: #000000;
JSON
{
  "hex": "#915dec",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 261.818,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60577,
    "c": 0.20627,
    "h": 296.5
  },
  "luminance": 0.19905
}

Semantic roles & 50–950 ramp

primary
#915DEC
secondary
#D9EBBA
accent
#DB0A8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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