#8074EC#8074EC

#8074EC is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.8% C 0.175 H 284.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8074EC
RGBrgb(128, 116, 236)
HSLhsl(246, 76%, 69%)
HSVhsv(246, 51%, 93%)
CMYKcmyk(45.8%, 50.8%, 0%, 7.5%)
CIE-LABlab(55.21, 34.56, -59.34)
CIE-LCHlch(55.21, 68.67, 300.22°)
OKLaboklab(62.78% 0.0444 -0.1688)
OKLCHoklch(62.78% 0.175 284.7)
XYZxyz(30.2834, 23.1347, 82.2104)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8074EC #E0EC74
analogous
#74A4EC #8074EC #BC74EC
triadic
#8074EC #EC8074 #74EC80
tetradic
#8074EC #EC74A4 #E0EC74 #74ECBC
square
#8074EC #EC74A4 #E0EC74 #74ECBC
split-complementary
#8074EC #ECBC74 #A4EC74
monochromatic
#2D1CCA #4F3EE5 #8074EC #B1AAF3 #E2E0FB

Accessibility & contrast

On white

3.73
#8074EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8074EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8074EC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8074EC#FFFFFF#000000##000000
##8074EC1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C88F0
Deuteranopia (green-blind)
#3780E9
Tritanopia (blue-blind)
#5C8EA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8074ec;
/* rgb */ color: rgb(128, 116, 236);
/* oklch */ color: oklch(62.8% 0.175 284.7);
Tailwind
colors: {
  custom: {
    50: '#ab9cf3',
    500: '#8074ec',
    950: '#000000',
  },
}
SCSS
$custom: #8074ec;
$custom-light: #ab9cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8074ec",
  "rgb": {
    "r": 128,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 246,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62779,
    "c": 0.17457,
    "h": 284.7
  },
  "luminance": 0.23136
}

Semantic roles & 50–950 ramp

primary
#8074EC
secondary
#ECEFCC
accent
#D80DC4
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8074EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8074EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva