#815CF0#815CF0

#815CF0 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.2% C 0.212 H 289.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#815CF0
RGBrgb(129, 92, 240)
HSLhsl(255, 83%, 65%)
HSVhsv(255, 62%, 94%)
CMYKcmyk(46.3%, 61.7%, 0%, 5.9%)
CIE-LABlab(50.23, 49.60, -69.61)
CIE-LCHlch(50.23, 85.47, 305.47°)
OKLaboklab(59.21% 0.072 -0.1991)
OKLCHoklch(59.21% 0.212 289.9)
XYZxyz(28.6041, 18.6116, 84.5064)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CF0 #CBF05C
analogous
#5C81F0 #815CF0 #CB5CF0
triadic
#815CF0 #F0815C #5CF081
tetradic
#815CF0 #F05C81 #CBF05C #5CF0CB
square
#815CF0 #F05C81 #CBF05C #5CF0CB
split-complementary
#815CF0 #F0CB5C #81F05C
monochromatic
#3D12C0 #5624EB #815CF0 #AC94F5 #D8CCFA

Accessibility & contrast

On white

4.45
#815CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#815CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CF0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CF0#FFFFFF#000000##000000
##815CF01.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF5
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#5E7F9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815cf0;
/* rgb */ color: rgb(129, 92, 240);
/* oklch */ color: oklch(59.2% 0.212 289.9);
Tailwind
colors: {
  custom: {
    50: '#ad8cf6',
    500: '#815cf0',
    950: '#000000',
  },
}
SCSS
$custom: #815cf0;
$custom-light: #ad8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#815cf0",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 255,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59205,
    "c": 0.2117,
    "h": 289.9
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

primary
#815CF0
secondary
#E0EDBB
accent
#E006A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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