#8074EE#8074EE

#8074EE is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.9% C 0.177 H 284.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8074EE
RGBrgb(128, 116, 238)
HSLhsl(246, 78%, 69%)
HSVhsv(246, 51%, 93%)
CMYKcmyk(46.2%, 51.3%, 0%, 6.7%)
CIE-LABlab(55.33, 35.14, -60.26)
CIE-LCHlch(55.33, 69.76, 300.24°)
OKLaboklab(62.91% 0.0445 -0.1715)
OKLCHoklch(62.91% 0.177 284.5)
XYZxyz(30.5756, 23.2516, 83.7493)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8074EE #E2EE74
analogous
#74A5EE #8074EE #BD74EE
triadic
#8074EE #EE8074 #74EE80
tetradic
#8074EE #EE74A5 #E2EE74 #74EEBD
square
#8074EE #EE74A5 #E2EE74 #74EEBD
split-complementary
#8074EE #EEBD74 #A5EE74
monochromatic
#2B19CE #4E3DE7 #8074EE #B2ABF5 #E4E1FB

Accessibility & contrast

On white

3.72
#8074EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8074EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8074EE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8074EE#FFFFFF#000000##000000
##8074EE1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3988F2
Deuteranopia (green-blind)
#3481EB
Tritanopia (blue-blind)
#5B8EA6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8074ee;
/* rgb */ color: rgb(128, 116, 238);
/* oklch */ color: oklch(62.9% 0.177 284.5);
Tailwind
colors: {
  custom: {
    50: '#ab9cf4',
    500: '#8074ee',
    950: '#000000',
  },
}
SCSS
$custom: #8074ee;
$custom-light: #ab9cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8074ee",
  "rgb": {
    "r": 128,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 245.902,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62907,
    "c": 0.17723,
    "h": 284.5
  },
  "luminance": 0.23253
}

Semantic roles & 50–950 ramp

primary
#8074EE
secondary
#EDF0CD
accent
#DA0BC6
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8074EE

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

Preview Lab → · Contrast checker → · Palette generator →

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