#815FFF#815FFF

#815FFF is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.8% C 0.226 H 287.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#815FFF
RGBrgb(129, 95, 255)
HSLhsl(253, 100%, 69%)
HSVhsv(253, 63%, 100%)
CMYKcmyk(49.4%, 62.7%, 0%, 0%)
CIE-LABlab(51.92, 52.13, -75.23)
CIE-LCHlch(51.92, 91.52, 304.72°)
OKLaboklab(60.77% 0.0678 -0.2156)
OKLCHoklch(60.77% 0.226 287.5)
XYZxyz(31.1902, 20.0701, 96.8188)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FFF #DDFF5F
analogous
#5F8DFF #815FFF #D15FFF
triadic
#815FFF #FF815F #5FFF81
tetradic
#815FFF #FF5F8D #DDFF5F #5FFFD1
square
#815FFF #FF5F8D #DDFF5F #5FFFD1
split-complementary
#815FFF #FFD15F #8DFF5F
monochromatic
#3000E4 #5122FF #815FFF #B19CFF #E1D9FF

Accessibility & contrast

On white

4.19
#815FFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#815FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FFF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FFF#FFFFFF#000000##000000
##815FFF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0077FC
Tritanopia (blue-blind)
#5486A7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #815fff;
/* rgb */ color: rgb(129, 95, 255);
/* oklch */ color: oklch(60.8% 0.226 287.5);
Tailwind
colors: {
  custom: {
    50: '#af8eff',
    500: '#815fff',
    950: '#000000',
  },
}
SCSS
$custom: #815fff;
$custom-light: #af8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#815fff",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 255
  },
  "hsl": {
    "h": 252.75,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60768,
    "c": 0.22599,
    "h": 287.5
  },
  "luminance": 0.20072
}

Semantic roles & 50–950 ramp

primary
#815FFF
secondary
#EBF5C5
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #815FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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