#815FCA#815FCA

#815FCA is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.1% C 0.160 H 295.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#815FCA
RGBrgb(129, 95, 202)
HSLhsl(259, 50%, 58%)
HSVhsv(259, 53%, 79%)
CMYKcmyk(36.1%, 53%, 0%, 20.8%)
CIE-LABlab(48.41, 37.56, -51.00)
CIE-LCHlch(48.41, 63.34, 306.37°)
OKLaboklab(57.08% 0.069 -0.1444)
OKLCHoklch(57.08% 0.16 295.5)
XYZxyz(23.8034, 17.1154, 57.9152)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FCA #A8CA5F
analogous
#5F72CA #815FCA #B65FCA
triadic
#815FCA #CA815F #5FCA81
tetradic
#815FCA #CA5F72 #A8CA5F #5FCAB6
square
#815FCA #CA5F72 #A8CA5F #5FCAB6
split-complementary
#815FCA #CAB65F #72CA5F
monochromatic
#472B83 #603BB1 #815FCA #A58DD9 #C9BBE8

Accessibility & contrast

On white

4.75
#815FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#815FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815FCA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FCA#FFFFFF#000000##FFFFFF
##815FCA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CE
Deuteranopia (green-blind)
#3C71C8
Tritanopia (blue-blind)
#70758B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #815fca;
/* rgb */ color: rgb(129, 95, 202);
/* oklch */ color: oklch(57.1% 0.160 295.5);
Tailwind
colors: {
  custom: {
    50: '#a98ddb',
    500: '#815fca',
    950: '#000000',
  },
}
SCSS
$custom: #815fca;
$custom-light: #a98ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#815fca",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 259.065,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57077,
    "c": 0.16004,
    "h": 295.5
  },
  "luminance": 0.17116
}

Semantic roles & 50–950 ramp

primary
#815FCA
secondary
#CAD8AD
accent
#DA4EAD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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