#815FE2#815FE2

#815FE2 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.191 H 291.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#815FE2
RGBrgb(129, 95, 226)
HSLhsl(256, 69%, 63%)
HSVhsv(256, 58%, 89%)
CMYKcmyk(42.9%, 58%, 0%, 11.4%)
CIE-LABlab(49.91, 44.07, -62.26)
CIE-LCHlch(49.91, 76.27, 305.29°)
OKLaboklab(58.67% 0.0694 -0.1774)
OKLCHoklch(58.67% 0.191 291.4)
XYZxyz(26.8691, 18.3417, 74.0614)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FE2 #C0E25F
analogous
#5F7EE2 #815FE2 #C35FE2
triadic
#815FE2 #E2815F #5FE281
tetradic
#815FE2 #E25F7E #C0E25F #5FE2C3
square
#815FE2 #E25F7E #C0E25F #5FE2C3
split-complementary
#815FE2 #E2C35F #7EE25F
monochromatic
#421EA8 #582BD9 #815FE2 #AA93EB #D3C7F5

Accessibility & contrast

On white

4.50
#815FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#815FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FE2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FE2#FFFFFF#000000##000000
##815FE21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#1174DF
Tritanopia (blue-blind)
#657C97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815fe2;
/* rgb */ color: rgb(129, 95, 226);
/* oklch */ color: oklch(58.7% 0.191 291.4);
Tailwind
colors: {
  custom: {
    50: '#ac8eec',
    500: '#815fe2',
    950: '#000000',
  },
}
SCSS
$custom: #815fe2;
$custom-light: #ac8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#815fe2",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 255.573,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58668,
    "c": 0.19054,
    "h": 291.4
  },
  "luminance": 0.18343
}

Semantic roles & 50–950 ramp

primary
#815FE2
secondary
#DAE6B7
accent
#D114A0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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