#815BFC#815BFC

#815BFC is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.0% C 0.227 H 288.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#815BFC
RGBrgb(129, 91, 252)
HSLhsl(254, 96%, 67%)
HSVhsv(254, 64%, 99%)
CMYKcmyk(48.8%, 63.9%, 0%, 1.2%)
CIE-LABlab(50.89, 53.46, -75.23)
CIE-LCHlch(50.89, 92.29, 305.40°)
OKLaboklab(59.96% 0.0719 -0.2156)
OKLCHoklch(59.96% 0.227 288.4)
XYZxyz(30.3599, 19.1762, 94.1783)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BFC #D6FC5B
analogous
#5B86FC #815BFC #D15BFC
triadic
#815BFC #FC815B #5BFC81
tetradic
#815BFC #FC5B86 #D6FC5B #5BFCD1
square
#815BFC #FC5B86 #D6FC5B #5BFCD1
split-complementary
#815BFC #FCD15B #86FC5B
monochromatic
#3604D9 #531FFB #815BFC #AF97FD #DDD3FE

Accessibility & contrast

On white

4.34
#815BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#815BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815BFC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BFC#FFFFFF#000000##000000
##815BFC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0075F9
Tritanopia (blue-blind)
#5682A4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815bfc;
/* rgb */ color: rgb(129, 91, 252);
/* oklch */ color: oklch(60.0% 0.227 288.4);
Tailwind
colors: {
  custom: {
    50: '#af8bfe',
    500: '#815bfc',
    950: '#000000',
  },
}
SCSS
$custom: #815bfc;
$custom-light: #af8bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#815bfc",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 252
  },
  "hsl": {
    "h": 254.161,
    "s": 96.407,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59958,
    "c": 0.22728,
    "h": 288.4
  },
  "luminance": 0.19178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #815BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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