#807AFE#807AFE

#807AFE is a light, vivid blue. Relative luminance 0.257; OKLCH L 65.0% C 0.190 H 281.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#807AFE
RGBrgb(128, 122, 254)
HSLhsl(243, 99%, 74%)
HSVhsv(243, 52%, 100%)
CMYKcmyk(49.6%, 52%, 0%, 0.4%)
CIE-LABlab(57.72, 36.31, -65.30)
CIE-LCHlch(57.72, 74.71, 299.08°)
OKLaboklab(65% 0.0388 -0.1863)
OKLCHoklch(65% 0.19 281.8)
XYZxyz(33.7456, 25.6622, 96.9219)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807AFE #F8FE7A
analogous
#7AB6FE #807AFE #C27AFE
triadic
#807AFE #FE807A #7AFE80
tetradic
#807AFE #FE7AB6 #F8FE7A #7AFEC2
square
#807AFE #FE7AB6 #F8FE7A #7AFEC2
split-complementary
#807AFE #FEC27A #B6FE7A
monochromatic
#0D02FC #463DFE #807AFE #BAB7FE #E2E1FF

Accessibility & contrast

On white

3.42
#807AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#807AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807AFE
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807AFE#FFFFFF#000000##000000
##807AFE1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#348FFF
Deuteranopia (green-blind)
#2886FB
Tritanopia (blue-blind)
#4F97B0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #807afe;
/* rgb */ color: rgb(128, 122, 254);
/* oklch */ color: oklch(65.0% 0.190 281.8);
Tailwind
colors: {
  custom: {
    50: '#ada0ff',
    500: '#807afe',
    950: '#000000',
  },
}
SCSS
$custom: #807afe;
$custom-light: #ada0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#807afe",
  "rgb": {
    "r": 128,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 242.727,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65002,
    "c": 0.1903,
    "h": 281.8
  },
  "luminance": 0.25664
}

Semantic roles & 50–950 ramp

primary
#807AFE
secondary
#F5F7D4
accent
#E600DB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #807AFE

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

Preview Lab → · Contrast checker → · Palette generator →

#807AFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva