#815ED7#815ED7

#815ED7 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.178 H 293.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#815ED7
RGBrgb(129, 94, 215)
HSLhsl(257, 60%, 61%)
HSVhsv(257, 56%, 84%)
CMYKcmyk(40%, 56.3%, 0%, 15.7%)
CIE-LABlab(48.98, 41.63, -57.51)
CIE-LCHlch(48.98, 71.00, 305.90°)
OKLaboklab(57.76% 0.0706 -0.1635)
OKLCHoklch(57.76% 0.178 293.4)
XYZxyz(25.3184, 17.5782, 66.3358)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815ED7 #B4D75E
analogous
#5E77D7 #815ED7 #BD5ED7
triadic
#815ED7 #D7815E #5ED781
tetradic
#815ED7 #D75E77 #B4D75E #5ED7BD
square
#815ED7 #D75E77 #B4D75E #5ED7BD
split-complementary
#815ED7 #D7BD5E #77D75E
monochromatic
#462595 #5C31C6 #815ED7 #A78FE3 #CEC0EF

Accessibility & contrast

On white

4.65
#815ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#815ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815ED7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815ED7#FFFFFF#000000##FFFFFF
##815ED71.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D76DB
Deuteranopia (green-blind)
#2972D4
Tritanopia (blue-blind)
#6A7891
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #815ed7;
/* rgb */ color: rgb(129, 94, 215);
/* oklch */ color: oklch(57.8% 0.178 293.4);
Tailwind
colors: {
  custom: {
    50: '#ab8de4',
    500: '#815ed7',
    950: '#000000',
  },
}
SCSS
$custom: #815ed7;
$custom-light: #ab8de4;
$custom-dark: #000000;
JSON
{
  "hex": "#815ed7",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 257.355,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57759,
    "c": 0.17812,
    "h": 293.4
  },
  "luminance": 0.17579
}

Semantic roles & 50–950 ramp

primary
#815ED7
secondary
#D2DFB1
accent
#C81E97
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #815ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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