#815CF7#815CF7

#815CF7 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.220 H 288.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#815CF7
RGBrgb(129, 92, 247)
HSLhsl(254, 91%, 66%)
HSVhsv(254, 63%, 97%)
CMYKcmyk(47.8%, 62.8%, 0%, 3.1%)
CIE-LABlab(50.73, 51.53, -72.71)
CIE-LCHlch(50.73, 89.12, 305.33°)
OKLaboklab(59.72% 0.0714 -0.2082)
OKLCHoklch(59.72% 0.22 288.9)
XYZxyz(29.6641, 19.0356, 90.0889)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CF7 #D2F75C
analogous
#5C85F7 #815CF7 #CF5CF7
triadic
#815CF7 #F7815C #5CF781
tetradic
#815CF7 #F75C85 #D2F75C #5CF7CF
square
#815CF7 #F75C85 #D2F75C #5CF7CF
split-complementary
#815CF7 #F7CF5C #85F75C
monochromatic
#390ACE #5422F4 #815CF7 #AE96FA #DBD1FD

Accessibility & contrast

On white

4.37
#815CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#815CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CF7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CF7#FFFFFF#000000##000000
##815CF71.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFC
Deuteranopia (green-blind)
#0075F4
Tritanopia (blue-blind)
#5A81A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815cf7;
/* rgb */ color: rgb(129, 92, 247);
/* oklch */ color: oklch(59.7% 0.220 288.9);
Tailwind
colors: {
  custom: {
    50: '#ae8cfb',
    500: '#815cf7',
    950: '#000000',
  },
}
SCSS
$custom: #815cf7;
$custom-light: #ae8cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#815cf7",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 254.323,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59725,
    "c": 0.22011,
    "h": 288.9
  },
  "luminance": 0.19037
}

Semantic roles & 50–950 ramp

primary
#815CF7
secondary
#E5F1BE
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #815CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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