#815DF7#815DF7

#815DF7 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.219 H 288.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#815DF7
RGBrgb(129, 93, 247)
HSLhsl(254, 91%, 67%)
HSVhsv(254, 62%, 97%)
CMYKcmyk(47.8%, 62.3%, 0%, 3.1%)
CIE-LABlab(50.93, 50.99, -72.38)
CIE-LCHlch(50.93, 88.54, 305.16°)
OKLaboklab(59.87% 0.0704 -0.2072)
OKLCHoklch(59.87% 0.219 288.8)
XYZxyz(29.7513, 19.2100, 90.1179)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DF7 #D3F75D
analogous
#5D86F7 #815DF7 #CE5DF7
triadic
#815DF7 #F7815D #5DF781
tetradic
#815DF7 #F75D86 #D3F75D #5DF7CE
square
#815DF7 #F75D86 #D3F75D #5DF7CE
split-complementary
#815DF7 #F7CE5D #86F75D
monochromatic
#380ACF #5423F4 #815DF7 #AE97FA #DCD2FD

Accessibility & contrast

On white

4.34
#815DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#815DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815DF7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DF7#FFFFFF#000000##000000
##815DF71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#0075F4
Tritanopia (blue-blind)
#5982A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815df7;
/* rgb */ color: rgb(129, 93, 247);
/* oklch */ color: oklch(59.9% 0.219 288.8);
Tailwind
colors: {
  custom: {
    50: '#ae8dfb',
    500: '#815df7',
    950: '#000000',
  },
}
SCSS
$custom: #815df7;
$custom-light: #ae8dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#815df7",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 254.026,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59872,
    "c": 0.21887,
    "h": 288.8
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

primary
#815DF7
secondary
#E5F1BF
accent
#E600B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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