#815EBF#815EBF

#815EBF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.2% C 0.147 H 298.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#815EBF
RGBrgb(129, 94, 191)
HSLhsl(262, 43%, 56%)
HSVhsv(262, 51%, 75%)
CMYKcmyk(32.5%, 50.8%, 0%, 25.1%)
CIE-LABlab(47.54, 35.24, -46.05)
CIE-LCHlch(47.54, 57.98, 307.42°)
OKLaboklab(56.23% 0.0696 -0.1299)
OKLCHoklch(56.23% 0.147 298.2)
XYZxyz(22.4576, 16.4339, 51.2690)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EBF #9CBF5E
analogous
#5E6BBF #815EBF #B15EBF
triadic
#815EBF #BF815E #5EBF81
tetradic
#815EBF #BF5E6B #9CBF5E #5EBFB1
square
#815EBF #BF5E6B #9CBF5E #5EBFB1
split-complementary
#815EBF #BFB15E #6BBF5E
monochromatic
#482E74 #6240A0 #815EBF #A38AD0 #C6B6E2

Accessibility & contrast

On white

4.90
#815EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#815EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815EBF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EBF#FFFFFF#000000##FFFFFF
##815EBF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C71C2
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#747186
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #815ebf;
/* rgb */ color: rgb(129, 94, 191);
/* oklch */ color: oklch(56.2% 0.147 298.2);
Tailwind
colors: {
  custom: {
    50: '#a88cd3',
    500: '#815ebf',
    950: '#000000',
  },
}
SCSS
$custom: #815ebf;
$custom-light: #a88cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#815ebf",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 261.649,
    "s": 43.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56227,
    "c": 0.14732,
    "h": 298.2
  },
  "luminance": 0.16434
}

Semantic roles & 50–950 ramp

primary
#815EBF
secondary
#C2D0A8
accent
#D355A5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #815EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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