#815CF2#815CF2

#815CF2 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.214 H 289.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#815CF2
RGBrgb(129, 92, 242)
HSLhsl(255, 85%, 65%)
HSVhsv(255, 62%, 95%)
CMYKcmyk(46.7%, 62%, 0%, 5.1%)
CIE-LABlab(50.37, 50.15, -70.50)
CIE-LCHlch(50.37, 86.52, 305.43°)
OKLaboklab(59.35% 0.0718 -0.2017)
OKLCHoklch(59.35% 0.214 289.6)
XYZxyz(28.9029, 18.7311, 86.0798)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CF2 #CDF25C
analogous
#5C82F2 #815CF2 #CC5CF2
triadic
#815CF2 #F2815C #5CF281
tetradic
#815CF2 #F25C82 #CDF25C #5CF2CC
square
#815CF2 #F25C82 #CDF25C #5CF2CC
split-complementary
#815CF2 #F2CC5C #82F25C
monochromatic
#3C10C4 #5523ED #815CF2 #AD95F7 #D9CDFB

Accessibility & contrast

On white

4.42
#815CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#815CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CF2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CF2#FFFFFF#000000##000000
##815CF21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #815cf2;
/* rgb */ color: rgb(129, 92, 242);
/* oklch */ color: oklch(59.4% 0.214 289.6);
Tailwind
colors: {
  custom: {
    50: '#ad8cf7',
    500: '#815cf2',
    950: '#000000',
  },
}
SCSS
$custom: #815cf2;
$custom-light: #ad8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#815cf2",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 254.8,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59353,
    "c": 0.21411,
    "h": 289.6
  },
  "luminance": 0.18732
}

Semantic roles & 50–950 ramp

primary
#815CF2
secondary
#E2EEBC
accent
#E204AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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