#815FFD#815FFD

#815FFD is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.6% C 0.224 H 287.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#815FFD
RGBrgb(129, 95, 253)
HSLhsl(253, 98%, 68%)
HSVhsv(253, 62%, 99%)
CMYKcmyk(49%, 62.5%, 0%, 0.8%)
CIE-LABlab(51.77, 51.57, -74.35)
CIE-LCHlch(51.77, 90.49, 304.75°)
OKLaboklab(60.62% 0.0679 -0.213)
OKLCHoklch(60.62% 0.224 287.7)
XYZxyz(30.8699, 19.9420, 95.1321)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FFD #DBFD5F
analogous
#5F8CFD #815FFD #D05FFD
triadic
#815FFD #FD815F #5FFD81
tetradic
#815FFD #FD5F8C #DBFD5F #5FFDD0
square
#815FFD #FD5F8C #DBFD5F #5FFDD0
split-complementary
#815FFD #FDD05F #8CFD5F
monochromatic
#3203DF #5123FC #815FFD #B19BFE #E0D8FF

Accessibility & contrast

On white

4.21
#815FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#815FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FFD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FFD#FFFFFF#000000##000000
##815FFD1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0077FA
Tritanopia (blue-blind)
#5585A5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #815ffd;
/* rgb */ color: rgb(129, 95, 253);
/* oklch */ color: oklch(60.6% 0.224 287.7);
Tailwind
colors: {
  custom: {
    50: '#af8eff',
    500: '#815ffd',
    950: '#000000',
  },
}
SCSS
$custom: #815ffd;
$custom-light: #af8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#815ffd",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 253
  },
  "hsl": {
    "h": 252.911,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60618,
    "c": 0.2236,
    "h": 287.7
  },
  "luminance": 0.19943
}

Semantic roles & 50–950 ramp

primary
#815FFD
secondary
#EAF4C4
accent
#E600B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #815FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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