#815FE5#815FE5

#815FE5 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.9% C 0.194 H 290.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#815FE5
RGBrgb(129, 95, 229)
HSLhsl(255, 72%, 64%)
HSVhsv(255, 59%, 90%)
CMYKcmyk(43.7%, 58.5%, 0%, 10.2%)
CIE-LABlab(50.11, 44.89, -63.63)
CIE-LCHlch(50.11, 77.87, 305.20°)
OKLaboklab(58.88% 0.0693 -0.1815)
OKLCHoklch(58.88% 0.194 290.9)
XYZxyz(27.2844, 18.5078, 76.2483)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FE5 #C3E55F
analogous
#5F80E5 #815FE5 #C45FE5
triadic
#815FE5 #E5815F #5FE581
tetradic
#815FE5 #E55F80 #C3E55F #5FE5C4
square
#815FE5 #E55F80 #C3E55F #5FE5C4
split-complementary
#815FE5 #E5C45F #80E55F
monochromatic
#411CAD #582ADC #815FE5 #AA94EE #D4C8F6

Accessibility & contrast

On white

4.47
#815FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#815FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FE5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FE5#FFFFFF#000000##000000
##815FE51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#0274E2
Tritanopia (blue-blind)
#647D99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815fe5;
/* rgb */ color: rgb(129, 95, 229);
/* oklch */ color: oklch(58.9% 0.194 290.9);
Tailwind
colors: {
  custom: {
    50: '#ac8eee',
    500: '#815fe5',
    950: '#000000',
  },
}
SCSS
$custom: #815fe5;
$custom-light: #ac8eee;
$custom-dark: #000000;
JSON
{
  "hex": "#815fe5",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 255.224,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58876,
    "c": 0.19428,
    "h": 290.9
  },
  "luminance": 0.18509
}

Semantic roles & 50–950 ramp

primary
#815FE5
secondary
#DCE8B8
accent
#D411A3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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