#815DF2#815DF2

#815DF2 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.5% C 0.213 H 289.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#815DF2
RGBrgb(129, 93, 242)
HSLhsl(254, 85%, 66%)
HSVhsv(254, 62%, 95%)
CMYKcmyk(46.7%, 61.6%, 0%, 5.1%)
CIE-LABlab(50.58, 49.60, -70.17)
CIE-LCHlch(50.58, 85.93, 305.26°)
OKLaboklab(59.5% 0.0708 -0.2007)
OKLCHoklch(59.5% 0.213 289.4)
XYZxyz(28.9901, 18.9055, 86.1088)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DF2 #CEF25D
analogous
#5D83F2 #815DF2 #CC5DF2
triadic
#815DF2 #F2815D #5DF281
tetradic
#815DF2 #F25D83 #CEF25D #5DF2CC
square
#815DF2 #F25D83 #CEF25D #5DF2CC
split-complementary
#815DF2 #F2CC5D #83F25D
monochromatic
#3C10C5 #5524ED #815DF2 #AD96F7 #D9CEFB

Accessibility & contrast

On white

4.39
#815DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#815DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815DF2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DF2#FFFFFF#000000##000000
##815DF21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#5D809F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #815df2;
/* rgb */ color: rgb(129, 93, 242);
/* oklch */ color: oklch(59.5% 0.213 289.4);
Tailwind
colors: {
  custom: {
    50: '#ad8cf7',
    500: '#815df2',
    950: '#000000',
  },
}
SCSS
$custom: #815df2;
$custom-light: #ad8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#815df2",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 254.497,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59502,
    "c": 0.21285,
    "h": 289.4
  },
  "luminance": 0.18907
}

Semantic roles & 50–950 ramp

primary
#815DF2
secondary
#E2EEBD
accent
#E204AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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