#815CCF#815CCF

#815CCF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.9% C 0.171 H 295.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#815CCF
RGBrgb(129, 92, 207)
HSLhsl(259, 55%, 59%)
HSVhsv(259, 56%, 81%)
CMYKcmyk(37.7%, 55.6%, 0%, 18.8%)
CIE-LABlab(48.04, 40.61, -54.46)
CIE-LCHlch(48.04, 67.93, 306.71°)
OKLaboklab(56.9% 0.073 -0.1545)
OKLCHoklch(56.9% 0.171 295.3)
XYZxyz(24.1400, 16.8259, 60.9953)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CCF #AACF5C
analogous
#5C70CF #815CCF #BA5CCF
triadic
#815CCF #CF815C #5CCF81
tetradic
#815CCF #CF5C70 #AACF5C #5CCFBA
square
#815CCF #CF5C70 #AACF5C #5CCFBA
split-complementary
#815CCF #CFBA5C #70CF5C
monochromatic
#472888 #6036B8 #815CCF #A68BDD #CABBEB

Accessibility & contrast

On white

4.81
#815CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#815CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815CCF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CCF#FFFFFF#000000##FFFFFF
##815CCF1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2573D3
Deuteranopia (green-blind)
#3170CC
Tritanopia (blue-blind)
#6E748D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #815ccf;
/* rgb */ color: rgb(129, 92, 207);
/* oklch */ color: oklch(56.9% 0.171 295.3);
Tailwind
colors: {
  custom: {
    50: '#aa8bde',
    500: '#815ccf',
    950: '#000000',
  },
}
SCSS
$custom: #815ccf;
$custom-light: #aa8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#815ccf",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 259.304,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56905,
    "c": 0.17088,
    "h": 295.3
  },
  "luminance": 0.16826
}

Semantic roles & 50–950 ramp

primary
#815CCF
secondary
#CCDAAD
accent
#DE4AAE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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