#915DF7#915DF7

#915DF7 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.3% C 0.219 H 294.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#915DF7
RGBrgb(145, 93, 247)
HSLhsl(260, 91%, 67%)
HSVhsv(260, 62%, 97%)
CMYKcmyk(41.3%, 62.3%, 0%, 3.1%)
CIE-LABlab(52.47, 54.07, -69.82)
CIE-LCHlch(52.47, 88.31, 307.76°)
OKLaboklab(61.35% 0.0912 -0.1992)
OKLCHoklch(61.35% 0.219 294.6)
XYZxyz(32.3754, 20.5631, 90.2409)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DF7 #C3F75D
analogous
#5D76F7 #915DF7 #DE5DF7
triadic
#915DF7 #F7915D #5DF791
tetradic
#915DF7 #F75D76 #C3F75D #5DF7DE
square
#915DF7 #F75D76 #C3F75D #5DF7DE
split-complementary
#915DF7 #F7DE5D #76F75D
monochromatic
#4D0ACF #6923F4 #915DF7 #B997FA #E0D2FD

Accessibility & contrast

On white

4.11
#915DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#915DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915DF7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915DF7#FFFFFF#000000##000000
##915DF71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFC
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#7680A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #915df7;
/* rgb */ color: rgb(145, 93, 247);
/* oklch */ color: oklch(61.3% 0.219 294.6);
Tailwind
colors: {
  custom: {
    50: '#b88dfb',
    500: '#915df7',
    950: '#000000',
  },
}
SCSS
$custom: #915df7;
$custom-light: #b88dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#915df7",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 260.26,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61349,
    "c": 0.21909,
    "h": 294.6
  },
  "luminance": 0.20564
}

Semantic roles & 50–950 ramp

primary
#915DF7
secondary
#E0F1BF
accent
#E60098
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #915DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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