#815AF1#815AF1

#815AF1 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.215 H 290.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#815AF1
RGBrgb(129, 90, 241)
HSLhsl(255, 84%, 65%)
HSVhsv(255, 63%, 95%)
CMYKcmyk(46.5%, 62.7%, 0%, 5.5%)
CIE-LABlab(49.89, 50.96, -70.71)
CIE-LCHlch(49.89, 87.16, 305.78°)
OKLaboklab(58.98% 0.074 -0.2023)
OKLCHoklch(58.98% 0.215 290.1)
XYZxyz(28.5821, 18.3292, 85.2339)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AF1 #CAF15A
analogous
#5A7EF1 #815AF1 #CD5AF1
triadic
#815AF1 #F1815A #5AF181
tetradic
#815AF1 #F15A7E #CAF15A #5AF1CD
square
#815AF1 #F15A7E #CAF15A #5AF1CD
split-complementary
#815AF1 #F1CD5A #7EF15A
monochromatic
#3E10C0 #5622EC #815AF1 #AC92F6 #D7CBFB

Accessibility & contrast

On white

4.50
#815AF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#815AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815AF1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AF1#FFFFFF#000000##000000
##815AF11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#0073EE
Tritanopia (blue-blind)
#5D7E9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815af1;
/* rgb */ color: rgb(129, 90, 241);
/* oklch */ color: oklch(59.0% 0.215 290.1);
Tailwind
colors: {
  custom: {
    50: '#ad8bf7',
    500: '#815af1',
    950: '#000000',
  },
}
SCSS
$custom: #815af1;
$custom-light: #ad8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#815af1",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 241
  },
  "hsl": {
    "h": 255.497,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58983,
    "c": 0.21543,
    "h": 290.1
  },
  "luminance": 0.1833
}

Semantic roles & 50–950 ramp

primary
#815AF1
secondary
#E0EDBA
accent
#E105A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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