#8076F2#8076F2

#8076F2 is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.5% C 0.180 H 283.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8076F2
RGBrgb(128, 118, 242)
HSLhsl(245, 83%, 71%)
HSVhsv(245, 51%, 95%)
CMYKcmyk(47.1%, 51.2%, 0%, 5.1%)
CIE-LABlab(56.04, 35.13, -61.34)
CIE-LCHlch(56.04, 70.69, 299.80°)
OKLaboklab(63.52% 0.0425 -0.1747)
OKLCHoklch(63.52% 0.18 283.7)
XYZxyz(31.4028, 23.9554, 86.9564)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8076F2 #E8F276
analogous
#76AAF2 #8076F2 #BE76F2
triadic
#8076F2 #F28076 #76F280
tetradic
#8076F2 #F276AA #E8F276 #76F2BE
square
#8076F2 #F276AA #E8F276 #76F2BE
split-complementary
#8076F2 #F2BE76 #AAF276
monochromatic
#2415D9 #4C3EED #8076F2 #B4AEF7 #E5E3FC

Accessibility & contrast

On white

3.63
#8076F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8076F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8076F2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8076F2#FFFFFF#000000##000000
##8076F21.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#3382EF
Tritanopia (blue-blind)
#5891A9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8076f2;
/* rgb */ color: rgb(128, 118, 242);
/* oklch */ color: oklch(63.5% 0.180 283.7);
Tailwind
colors: {
  custom: {
    50: '#ab9df7',
    500: '#8076f2',
    950: '#000000',
  },
}
SCSS
$custom: #8076f2;
$custom-light: #ab9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#8076f2",
  "rgb": {
    "r": 128,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 244.839,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63518,
    "c": 0.17981,
    "h": 283.7
  },
  "luminance": 0.23957
}

Semantic roles & 50–950 ramp

primary
#8076F2
secondary
#F0F3D1
accent
#DF06CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8076F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8076F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva