#915DE8#915DE8

#915DE8 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.3% C 0.202 H 297.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#915DE8
RGBrgb(145, 93, 232)
HSLhsl(262, 75%, 64%)
HSVhsv(262, 60%, 91%)
CMYKcmyk(37.5%, 59.9%, 0%, 9%)
CIE-LABlab(51.47, 50.21, -63.04)
CIE-LCHlch(51.47, 80.59, 308.53°)
OKLaboklab(60.3% 0.0922 -0.1793)
OKLCHoklch(60.3% 0.202 297.2)
XYZxyz(30.1532, 19.6742, 78.5371)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DE8 #B4E85D
analogous
#5D6EE8 #915DE8 #D65DE8
triadic
#915DE8 #E8915D #5DE891
tetradic
#915DE8 #E85D6E #B4E85D #5DE8D6
square
#915DE8 #E85D6E #B4E85D #5DE8D6
split-complementary
#915DE8 #E8D65D #6EE85D
monochromatic
#5219B1 #6D27E0 #915DE8 #B593F0 #DAC8F7

Accessibility & contrast

On white

4.26
#915DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#915DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915DE8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915DE8#FFFFFF#000000##000000
##915DE81.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#2079E5
Tritanopia (blue-blind)
#7C7B9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #915de8;
/* rgb */ color: rgb(145, 93, 232);
/* oklch */ color: oklch(60.3% 0.202 297.2);
Tailwind
colors: {
  custom: {
    50: '#b68df0',
    500: '#915de8',
    950: '#000000',
  },
}
SCSS
$custom: #915de8;
$custom-light: #b68df0;
$custom-dark: #000000;
JSON
{
  "hex": "#915de8",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 262.446,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60303,
    "c": 0.20157,
    "h": 297.2
  },
  "luminance": 0.19675
}

Semantic roles & 50–950 ramp

primary
#915DE8
secondary
#D7E9B8
accent
#D70E8C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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