#815AFF#815AFF

#815AFF is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.0% C 0.232 H 288.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#815AFF
RGBrgb(129, 90, 255)
HSLhsl(254, 100%, 68%)
HSVhsv(254, 65%, 100%)
CMYKcmyk(49.4%, 64.7%, 0%, 0%)
CIE-LABlab(50.92, 54.82, -76.85)
CIE-LCHlch(50.92, 94.40, 305.50°)
OKLaboklab(60.05% 0.0725 -0.2204)
OKLCHoklch(60.05% 0.232 288.2)
XYZxyz(30.7542, 19.1981, 96.6735)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AFF #D8FF5A
analogous
#5A85FF #815AFF #D45AFF
triadic
#815AFF #FF815A #5AFF81
tetradic
#815AFF #FF5A85 #D8FF5A #5AFFD4
square
#815AFF #FF5A85 #D8FF5A #5AFFD4
split-complementary
#815AFF #FFD45A #85FF5A
monochromatic
#3500DF #521DFF #815AFF #B097FF #DED4FF

Accessibility & contrast

On white

4.34
#815AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#815AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815AFF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AFF#FFFFFF#000000##000000
##815AFF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0075FC
Tritanopia (blue-blind)
#5483A5
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815aff;
/* rgb */ color: rgb(129, 90, 255);
/* oklch */ color: oklch(60.0% 0.232 288.2);
Tailwind
colors: {
  custom: {
    50: '#af8bff',
    500: '#815aff',
    950: '#000000',
  },
}
SCSS
$custom: #815aff;
$custom-light: #af8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#815aff",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 254.182,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60046,
    "c": 0.232,
    "h": 288.2
  },
  "luminance": 0.19199
}

Semantic roles & 50–950 ramp

primary
#815AFF
secondary
#E8F4C1
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #815AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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