#915DE4#915DE4

#915DE4 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.0% C 0.197 H 298.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#915DE4
RGBrgb(145, 93, 228)
HSLhsl(263, 71%, 63%)
HSVhsv(263, 59%, 89%)
CMYKcmyk(36.4%, 59.2%, 0%, 10.6%)
CIE-LABlab(51.21, 49.19, -61.21)
CIE-LCHlch(51.21, 78.52, 308.79°)
OKLaboklab(60.03% 0.0923 -0.1739)
OKLCHoklch(60.03% 0.197 298)
XYZxyz(29.5915, 19.4495, 75.5788)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DE4 #B0E45D
analogous
#5D6CE4 #915DE4 #D45DE4
triadic
#915DE4 #E4915D #5DE491
tetradic
#915DE4 #E45D6C #B0E45D #5DE4D4
square
#915DE4 #E45D6C #B0E45D #5DE4D4
split-complementary
#915DE4 #E4D45D #6CE45D
monochromatic
#531CAA #6D29DB #915DE4 #B591ED #D8C6F5

Accessibility & contrast

On white

4.29
#915DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#915DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915DE4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915DE4#FFFFFF#000000##000000
##915DE41.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#2879E1
Tritanopia (blue-blind)
#7E7A98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #915de4;
/* rgb */ color: rgb(145, 93, 228);
/* oklch */ color: oklch(60.0% 0.197 298.0);
Tailwind
colors: {
  custom: {
    50: '#b68ded',
    500: '#915de4',
    950: '#000000',
  },
}
SCSS
$custom: #915de4;
$custom-light: #b68ded;
$custom-dark: #000000;
JSON
{
  "hex": "#915de4",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 263.111,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60033,
    "c": 0.19685,
    "h": 298
  },
  "luminance": 0.1945
}

Semantic roles & 50–950 ramp

primary
#915DE4
secondary
#D4E7B6
accent
#D31289
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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