#915DF4#915DF4

#915DF4 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.1% C 0.216 H 295.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#915DF4
RGBrgb(145, 93, 244)
HSLhsl(261, 87%, 66%)
HSVhsv(261, 62%, 96%)
CMYKcmyk(40.6%, 61.9%, 0%, 4.3%)
CIE-LABlab(52.26, 53.29, -68.48)
CIE-LCHlch(52.26, 86.77, 307.89°)
OKLaboklab(61.14% 0.0915 -0.1952)
OKLCHoklch(61.14% 0.216 295.1)
XYZxyz(31.9162, 20.3794, 87.8225)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DF4 #C0F45D
analogous
#5D74F4 #915DF4 #DC5DF4
triadic
#915DF4 #F4915D #5DF491
tetradic
#915DF4 #F45D74 #C0F45D #5DF4DC
square
#915DF4 #F45D74 #C0F45D #5DF4DC
split-complementary
#915DF4 #F4DC5D #74F45D
monochromatic
#4E0EC9 #6A24F0 #915DF4 #B896F8 #DFD0FC

Accessibility & contrast

On white

4.14
#915DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#915DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915DF4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915DF4#FFFFFF#000000##000000
##915DF41.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF9
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#777FA0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #915df4;
/* rgb */ color: rgb(145, 93, 244);
/* oklch */ color: oklch(61.1% 0.216 295.1);
Tailwind
colors: {
  custom: {
    50: '#b78df9',
    500: '#915df4',
    950: '#000000',
  },
}
SCSS
$custom: #915df4;
$custom-light: #b78df9;
$custom-dark: #000000;
JSON
{
  "hex": "#915df4",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 260.662,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61136,
    "c": 0.21561,
    "h": 295.1
  },
  "luminance": 0.2038
}

Semantic roles & 50–950 ramp

primary
#915DF4
secondary
#DEEFBE
accent
#E40296
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #915DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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