#815BF2#815BF2

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

Color values

HEX#815BF2
RGBrgb(129, 91, 242)
HSLhsl(255, 85%, 65%)
HSVhsv(255, 62%, 95%)
CMYKcmyk(46.7%, 62.4%, 0%, 5.1%)
CIE-LABlab(50.17, 50.69, -70.83)
CIE-LCHlch(50.17, 87.10, 305.59°)
OKLaboklab(59.2% 0.0729 -0.2027)
OKLCHoklch(59.2% 0.215 289.8)
XYZxyz(28.8168, 18.5590, 86.0511)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BF2 #CCF25B
analogous
#5B81F2 #815BF2 #CC5BF2
triadic
#815BF2 #F2815B #5BF281
tetradic
#815BF2 #F25B81 #CCF25B #5BF2CC
square
#815BF2 #F25B81 #CCF25B #5BF2CC
split-complementary
#815BF2 #F2CC5B #81F25B
monochromatic
#3D0FC3 #5522EE #815BF2 #AD94F6 #D8CCFB

Accessibility & contrast

On white

4.46
#815BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#815BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815BF2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BF2#FFFFFF#000000##000000
##815BF21.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#5D7F9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815bf2;
/* rgb */ color: rgb(129, 91, 242);
/* oklch */ color: oklch(59.2% 0.215 289.8);
Tailwind
colors: {
  custom: {
    50: '#ae8bf7',
    500: '#815bf2',
    950: '#000000',
  },
}
SCSS
$custom: #815bf2;
$custom-light: #ae8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#815bf2",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 255.099,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59204,
    "c": 0.21537,
    "h": 289.8
  },
  "luminance": 0.1856
}

Semantic roles & 50–950 ramp

primary
#815BF2
secondary
#E1EEBB
accent
#E204AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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