#807DF2#807DF2

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

Color values

HEX#807DF2
RGBrgb(128, 125, 242)
HSLhsl(242, 82%, 72%)
HSVhsv(242, 48%, 95%)
CMYKcmyk(47.1%, 48.3%, 0%, 5.1%)
CIE-LABlab(57.72, 31.02, -58.66)
CIE-LCHlch(57.72, 66.35, 297.87°)
OKLaboklab(64.78% 0.0345 -0.1668)
OKLCHoklch(64.78% 0.17 281.7)
XYZxyz(32.2579, 25.6656, 87.2414)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807DF2 #EFF27D
analogous
#7DB5F2 #807DF2 #BA7DF2
triadic
#807DF2 #F2807D #7DF280
tetradic
#807DF2 #F27DB5 #EFF27D #7DF2BA
square
#807DF2 #F27DB5 #EFF27D #7DF2BA
split-complementary
#807DF2 #F2BA7D #B5F27D
monochromatic
#1B16DE #4A45EC #807DF2 #B6B5F8 #E4E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807DF2#FFFFFF#000000##000000
##807DF21.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)
#498FF6
Deuteranopia (green-blind)
#4187EF
Tritanopia (blue-blind)
#5896AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #807df2;
/* rgb */ color: rgb(128, 125, 242);
/* oklch */ color: oklch(64.8% 0.170 281.7);
Tailwind
colors: {
  custom: {
    50: '#aba2f7',
    500: '#807df2',
    950: '#000000',
  },
}
SCSS
$custom: #807df2;
$custom-light: #aba2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#807df2",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 241.538,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64775,
    "c": 0.17032,
    "h": 281.7
  },
  "luminance": 0.25667
}

Semantic roles & 50–950 ramp

primary
#807DF2
secondary
#F3F4D7
accent
#DE07D9
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #807DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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