#815CF3#815CF3

#815CF3 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.4% C 0.215 H 289.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#815CF3
RGBrgb(129, 92, 243)
HSLhsl(255, 86%, 66%)
HSVhsv(255, 62%, 95%)
CMYKcmyk(46.9%, 62.1%, 0%, 4.7%)
CIE-LABlab(50.44, 50.42, -70.94)
CIE-LCHlch(50.44, 87.04, 305.40°)
OKLaboklab(59.43% 0.0718 -0.203)
OKLCHoklch(59.43% 0.215 289.5)
XYZxyz(29.0534, 18.7913, 86.8729)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CF3 #CEF35C
analogous
#5C82F3 #815CF3 #CC5CF3
triadic
#815CF3 #F3815C #5CF381
tetradic
#815CF3 #F35C82 #CEF35C #5CF3CC
square
#815CF3 #F35C82 #CEF35C #5CF3CC
split-complementary
#815CF3 #F3CC5C #82F35C
monochromatic
#3C0FC6 #5523EF #815CF3 #AD95F7 #D9CEFB

Accessibility & contrast

On white

4.41
#815CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#815CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CF3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CF3#FFFFFF#000000##000000
##815CF31.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#5C809F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #815cf3;
/* rgb */ color: rgb(129, 92, 243);
/* oklch */ color: oklch(59.4% 0.215 289.5);
Tailwind
colors: {
  custom: {
    50: '#ae8cf8',
    500: '#815cf3',
    950: '#000000',
  },
}
SCSS
$custom: #815cf3;
$custom-light: #ae8cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#815cf3",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 254.702,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59427,
    "c": 0.21531,
    "h": 289.5
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#815CF3
secondary
#E2EFBC
accent
#E303AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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