#815CBF#815CBF

#815CBF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.9% C 0.150 H 298.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#815CBF
RGBrgb(129, 92, 191)
HSLhsl(262, 44%, 55%)
HSVhsv(262, 52%, 75%)
CMYKcmyk(32.5%, 51.8%, 0%, 25.1%)
CIE-LABlab(47.08, 36.39, -46.77)
CIE-LCHlch(47.08, 59.26, 307.89°)
OKLaboklab(55.89% 0.0722 -0.132)
OKLCHoklch(55.89% 0.15 298.7)
XYZxyz(22.2821, 16.0828, 51.2105)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CBF #9ABF5C
analogous
#5C69BF #815CBF #B25CBF
triadic
#815CBF #BF815C #5CBF81
tetradic
#815CBF #BF5C69 #9ABF5C #5CBFB2
square
#815CBF #BF5C69 #9ABF5C #5CBFB2
split-complementary
#815CBF #BFB25C #69BF5C
monochromatic
#472D73 #633F9F #815CBF #A388D0 #C5B4E2

Accessibility & contrast

On white

4.98
#815CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#815CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815CBF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CBF#FFFFFF#000000##FFFFFF
##815CBF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3870C2
Deuteranopia (green-blind)
#426FBD
Tritanopia (blue-blind)
#746F85
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #815cbf;
/* rgb */ color: rgb(129, 92, 191);
/* oklch */ color: oklch(55.9% 0.150 298.7);
Tailwind
colors: {
  custom: {
    50: '#a98bd3',
    500: '#815cbf',
    950: '#000000',
  },
}
SCSS
$custom: #815cbf;
$custom-light: #a98bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#815cbf",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 262.424,
    "s": 43.612,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55888,
    "c": 0.15046,
    "h": 298.7
  },
  "luminance": 0.16083
}

Semantic roles & 50–950 ramp

primary
#815CBF
secondary
#C1D0A7
accent
#D354A4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #815CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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