#815FFB#815FFB

#815FFB is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.221 H 287.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#815FFB
RGBrgb(129, 95, 251)
HSLhsl(253, 95%, 68%)
HSVhsv(253, 62%, 98%)
CMYKcmyk(48.6%, 62.2%, 0%, 1.6%)
CIE-LABlab(51.63, 51.01, -73.47)
CIE-LCHlch(51.63, 89.45, 304.77°)
OKLaboklab(60.47% 0.0681 -0.2104)
OKLCHoklch(60.47% 0.221 287.9)
XYZxyz(30.5530, 19.8152, 93.4629)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FFB #D9FB5F
analogous
#5F8BFB #815FFB #CF5FFB
triadic
#815FFB #FB815F #5FFB81
tetradic
#815FFB #FB5F8B #D9FB5F #5FFBCF
square
#815FFB #FB5F8B #D9FB5F #5FFBCF
split-complementary
#815FFB #FBCF5F #8BFB5F
monochromatic
#3405DA #5223FA #815FFB #B09BFC #DFD6FE

Accessibility & contrast

On white

4.23
#815FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#815FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FFB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FFB#FFFFFF#000000##000000
##815FFB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0077F8
Tritanopia (blue-blind)
#5784A4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #815ffb;
/* rgb */ color: rgb(129, 95, 251);
/* oklch */ color: oklch(60.5% 0.221 287.9);
Tailwind
colors: {
  custom: {
    50: '#ae8efe',
    500: '#815ffb',
    950: '#000000',
  },
}
SCSS
$custom: #815ffb;
$custom-light: #ae8efe;
$custom-dark: #000000;
JSON
{
  "hex": "#815ffb",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 251
  },
  "hsl": {
    "h": 253.077,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60468,
    "c": 0.2212,
    "h": 287.9
  },
  "luminance": 0.19817
}

Semantic roles & 50–950 ramp

primary
#815FFB
secondary
#E8F3C3
accent
#E600B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #815FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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