#8074EA#8074EA

#8074EA is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.7% C 0.172 H 284.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8074EA
RGBrgb(128, 116, 234)
HSLhsl(246, 74%, 69%)
HSVhsv(246, 50%, 92%)
CMYKcmyk(45.3%, 50.4%, 0%, 8.2%)
CIE-LABlab(55.09, 33.98, -58.41)
CIE-LCHlch(55.09, 67.58, 300.19°)
OKLaboklab(62.65% 0.0442 -0.1661)
OKLCHoklch(62.65% 0.172 284.9)
XYZxyz(29.9944, 23.0192, 80.6887)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8074EA #DEEA74
analogous
#74A3EA #8074EA #BB74EA
triadic
#8074EA #EA8074 #74EA80
tetradic
#8074EA #EA74A3 #DEEA74 #74EABB
square
#8074EA #EA74A3 #DEEA74 #74EABB
split-complementary
#8074EA #EABB74 #A3EA74
monochromatic
#2F1EC6 #4F3FE2 #8074EA #B1A9F2 #E1DEFA

Accessibility & contrast

On white

3.75
#8074EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8074EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8074EA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8074EA#FFFFFF#000000##000000
##8074EA1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#3A80E7
Tritanopia (blue-blind)
#5D8DA4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8074ea;
/* rgb */ color: rgb(128, 116, 234);
/* oklch */ color: oklch(62.7% 0.172 284.9);
Tailwind
colors: {
  custom: {
    50: '#ab9cf1',
    500: '#8074ea',
    950: '#000000',
  },
}
SCSS
$custom: #8074ea;
$custom-light: #ab9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8074ea",
  "rgb": {
    "r": 128,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 246.102,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62652,
    "c": 0.17191,
    "h": 284.9
  },
  "luminance": 0.2302
}

Semantic roles & 50–950 ramp

primary
#8074EA
secondary
#EBEFCB
accent
#D610C2
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8074EA

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

Preview Lab → · Contrast checker → · Palette generator →

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