#815FDA#815FDA

#815FDA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.1% C 0.180 H 292.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#815FDA
RGBrgb(129, 95, 218)
HSLhsl(257, 62%, 61%)
HSVhsv(257, 56%, 85%)
CMYKcmyk(40.8%, 56.4%, 0%, 14.5%)
CIE-LABlab(49.39, 41.87, -58.56)
CIE-LCHlch(49.39, 71.99, 305.57°)
OKLaboklab(58.12% 0.0695 -0.1666)
OKLCHoklch(58.12% 0.18 292.6)
XYZxyz(25.7969, 17.9128, 68.4144)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FDA #B8DA5F
analogous
#5F7BDA #815FDA #BF5FDA
triadic
#815FDA #DA815F #5FDA81
tetradic
#815FDA #DA5F7B #B8DA5F #5FDABF
square
#815FDA #DA5F7B #B8DA5F #5FDABF
split-complementary
#815FDA #DABF5F #7BDA5F
monochromatic
#45249B #5B2FCD #815FDA #A891E5 #CFC2F1

Accessibility & contrast

On white

4.58
#815FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#815FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FDA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FDA#FFFFFF#000000##000000
##815FDA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A77DE
Deuteranopia (green-blind)
#2673D7
Tritanopia (blue-blind)
#697993
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815fda;
/* rgb */ color: rgb(129, 95, 218);
/* oklch */ color: oklch(58.1% 0.180 292.6);
Tailwind
colors: {
  custom: {
    50: '#ab8de6',
    500: '#815fda',
    950: '#000000',
  },
}
SCSS
$custom: #815fda;
$custom-light: #ab8de6;
$custom-dark: #000000;
JSON
{
  "hex": "#815fda",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 256.585,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58122,
    "c": 0.18049,
    "h": 292.6
  },
  "luminance": 0.17914
}

Semantic roles & 50–950 ramp

primary
#815FDA
secondary
#D5E1B3
accent
#CA1B9A
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #815FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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