#815BCF#815BCF

#815BCF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.172 H 295.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#815BCF
RGBrgb(129, 91, 207)
HSLhsl(260, 55%, 58%)
HSVhsv(260, 56%, 81%)
CMYKcmyk(37.7%, 56%, 0%, 18.8%)
CIE-LABlab(47.82, 41.18, -54.81)
CIE-LCHlch(47.82, 68.55, 306.92°)
OKLaboklab(56.74% 0.0742 -0.1556)
OKLCHoklch(56.74% 0.172 295.5)
XYZxyz(24.0539, 16.6538, 60.9666)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BCF #A9CF5B
analogous
#5B6FCF #815BCF #BB5BCF
triadic
#815BCF #CF815B #5BCF81
tetradic
#815BCF #CF5B6F #A9CF5B #5BCFBB
square
#815BCF #CF5B6F #A9CF5B #5BCFBB
split-complementary
#815BCF #CFBB5B #6FCF5B
monochromatic
#472888 #6036B7 #815BCF #A58ADD #CABAEB

Accessibility & contrast

On white

4.85
#815BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#815BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BCF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BCF#FFFFFF#000000##FFFFFF
##815BCF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2272D3
Deuteranopia (green-blind)
#2F70CC
Tritanopia (blue-blind)
#6E738C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #815bcf;
/* rgb */ color: rgb(129, 91, 207);
/* oklch */ color: oklch(56.7% 0.172 295.5);
Tailwind
colors: {
  custom: {
    50: '#aa8bde',
    500: '#815bcf',
    950: '#000000',
  },
}
SCSS
$custom: #815bcf;
$custom-light: #aa8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#815bcf",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 259.655,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.17234,
    "h": 295.5
  },
  "luminance": 0.16654
}

Semantic roles & 50–950 ramp

primary
#815BCF
secondary
#CBDAAC
accent
#DE4AAD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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