#815CE7#815CE7

#815CE7 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.6% C 0.201 H 291.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#815CE7
RGBrgb(129, 92, 231)
HSLhsl(256, 74%, 63%)
HSVhsv(256, 60%, 91%)
CMYKcmyk(44.2%, 60.2%, 0%, 9.4%)
CIE-LABlab(49.61, 47.12, -65.57)
CIE-LCHlch(49.61, 80.74, 305.70°)
OKLaboklab(58.55% 0.0726 -0.1872)
OKLCHoklch(58.55% 0.201 291.2)
XYZxyz(27.3002, 18.0900, 77.6391)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CE7 #C2E75C
analogous
#5C7CE7 #815CE7 #C65CE7
triadic
#815CE7 #E7815C #5CE781
tetradic
#815CE7 #E75C7C #C2E75C #5CE7C6
square
#815CE7 #E75C7C #C2E75C #5CE7C6
split-complementary
#815CE7 #E7C65C #7CE75C
monochromatic
#411AAF #5827DF #815CE7 #AA91EF #D3C7F7

Accessibility & contrast

On white

4.55
#815CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#815CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CE7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CE7#FFFFFF#000000##000000
##815CE71.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#637C99
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815ce7;
/* rgb */ color: rgb(129, 92, 231);
/* oklch */ color: oklch(58.6% 0.201 291.2);
Tailwind
colors: {
  custom: {
    50: '#ac8cef',
    500: '#815ce7',
    950: '#000000',
  },
}
SCSS
$custom: #815ce7;
$custom-light: #ac8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#815ce7",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 255.971,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58552,
    "c": 0.20076,
    "h": 291.2
  },
  "luminance": 0.18091
}

Semantic roles & 50–950 ramp

primary
#815CE7
secondary
#DBE8B7
accent
#D60FA1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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