#915DE5#915DE5

#915DE5 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.1% C 0.198 H 297.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#915DE5
RGBrgb(145, 93, 229)
HSLhsl(263, 72%, 63%)
HSVhsv(263, 59%, 90%)
CMYKcmyk(36.7%, 59.4%, 0%, 10.2%)
CIE-LABlab(51.27, 49.44, -61.67)
CIE-LCHlch(51.27, 79.04, 308.72°)
OKLaboklab(60.1% 0.0923 -0.1752)
OKLCHoklch(60.1% 0.198 297.8)
XYZxyz(29.7307, 19.5052, 76.3121)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DE5 #B1E55D
analogous
#5D6DE5 #915DE5 #D55DE5
triadic
#915DE5 #E5915D #5DE591
tetradic
#915DE5 #E55D6D #B1E55D #5DE5D5
square
#915DE5 #E55D6D #B1E55D #5DE5D5
split-complementary
#915DE5 #E5D55D #6DE55D
monochromatic
#531CAC #6D28DD #915DE5 #B592ED #D9C6F6

Accessibility & contrast

On white

4.28
#915DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#915DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915DE5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915DE5#FFFFFF#000000##000000
##915DE51.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#2679E2
Tritanopia (blue-blind)
#7E7A98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #915de5;
/* rgb */ color: rgb(145, 93, 229);
/* oklch */ color: oklch(60.1% 0.198 297.8);
Tailwind
colors: {
  custom: {
    50: '#b68dee',
    500: '#915de5',
    950: '#000000',
  },
}
SCSS
$custom: #915de5;
$custom-light: #b68dee;
$custom-dark: #000000;
JSON
{
  "hex": "#915de5",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 229
  },
  "hsl": {
    "h": 262.941,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.601,
    "c": 0.19803,
    "h": 297.8
  },
  "luminance": 0.19506
}

Semantic roles & 50–950 ramp

primary
#915DE5
secondary
#D5E7B7
accent
#D4118A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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