#8074EB#8074EB

#8074EB is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.7% C 0.173 H 284.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8074EB
RGBrgb(128, 116, 235)
HSLhsl(246, 75%, 69%)
HSVhsv(246, 51%, 92%)
CMYKcmyk(45.5%, 50.6%, 0%, 7.8%)
CIE-LABlab(55.15, 34.27, -58.88)
CIE-LCHlch(55.15, 68.12, 300.20°)
OKLaboklab(62.72% 0.0443 -0.1675)
OKLCHoklch(62.72% 0.173 284.8)
XYZxyz(30.1385, 23.0768, 81.4474)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8074EB #DFEB74
analogous
#74A4EB #8074EB #BC74EB
triadic
#8074EB #EB8074 #74EB80
tetradic
#8074EB #EB74A4 #DFEB74 #74EBBC
square
#8074EB #EB74A4 #DFEB74 #74EBBC
split-complementary
#8074EB #EBBC74 #A4EB74
monochromatic
#2E1DC8 #4F3EE3 #8074EB #B1AAF3 #E2DFFA

Accessibility & contrast

On white

3.74
#8074EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8074EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8074EB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8074EB#FFFFFF#000000##000000
##8074EB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88EF
Deuteranopia (green-blind)
#3880E8
Tritanopia (blue-blind)
#5D8DA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8074eb;
/* rgb */ color: rgb(128, 116, 235);
/* oklch */ color: oklch(62.7% 0.173 284.8);
Tailwind
colors: {
  custom: {
    50: '#ab9cf2',
    500: '#8074eb',
    950: '#000000',
  },
}
SCSS
$custom: #8074eb;
$custom-light: #ab9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8074eb",
  "rgb": {
    "r": 128,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 246.05,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62716,
    "c": 0.17324,
    "h": 284.8
  },
  "luminance": 0.23078
}

Semantic roles & 50–950 ramp

primary
#8074EB
secondary
#EBEFCC
accent
#D70FC3
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8074EB

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

Preview Lab → · Contrast checker → · Palette generator →

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