#8074E2#8074E2

#8074E2 is a light, vivid blue. Relative luminance 0.226; OKLCH L 62.2% C 0.161 H 285.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8074E2
RGBrgb(128, 116, 226)
HSLhsl(247, 65%, 67%)
HSVhsv(247, 49%, 89%)
CMYKcmyk(43.4%, 48.7%, 0%, 11.4%)
CIE-LABlab(54.63, 31.68, -54.68)
CIE-LCHlch(54.63, 63.20, 300.09°)
OKLaboklab(62.15% 0.0435 -0.1552)
OKLCHoklch(62.15% 0.161 285.7)
XYZxyz(28.8710, 22.5698, 74.7720)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8074E2 #D6E274
analogous
#749FE2 #8074E2 #B774E2
triadic
#8074E2 #E28074 #74E280
tetradic
#8074E2 #E2749F #D6E274 #74E2B7
square
#8074E2 #E2749F #D6E274 #74E2B7
split-complementary
#8074E2 #E2B774 #9FE274
monochromatic
#3626B6 #5241D7 #8074E2 #AEA7ED #DDD9F7

Accessibility & contrast

On white

3.81
#8074E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8074E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8074E2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8074E2#FFFFFF#000000##000000
##8074E21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4686E6
Deuteranopia (green-blind)
#437FE0
Tritanopia (blue-blind)
#628BA0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8074e2;
/* rgb */ color: rgb(128, 116, 226);
/* oklch */ color: oklch(62.2% 0.161 285.7);
Tailwind
colors: {
  custom: {
    50: '#aa9cec',
    500: '#8074e2',
    950: '#000000',
  },
}
SCSS
$custom: #8074e2;
$custom-light: #aa9cec;
$custom-dark: #000000;
JSON
{
  "hex": "#8074e2",
  "rgb": {
    "r": 128,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 246.545,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62153,
    "c": 0.16115,
    "h": 285.7
  },
  "luminance": 0.22571
}

Semantic roles & 50–950 ramp

primary
#8074E2
secondary
#E7EAC7
accent
#CD18BA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8074E2

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

Preview Lab → · Contrast checker → · Palette generator →

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