#8074CA#8074CA

#8074CA is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.128 H 288.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8074CA
RGBrgb(128, 116, 202)
HSLhsl(248, 45%, 62%)
HSVhsv(248, 43%, 79%)
CMYKcmyk(36.6%, 42.6%, 0%, 20.8%)
CIE-LABlab(53.32, 24.95, -43.18)
CIE-LCHlch(53.32, 49.88, 300.02°)
OKLaboklab(60.75% 0.0404 -0.1215)
OKLCHoklch(60.75% 0.128 288.4)
XYZxyz(25.8053, 21.3435, 58.6258)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8074CA #BECA74
analogous
#7493CA #8074CA #AB74CA
triadic
#8074CA #CA8074 #74CA80
tetradic
#8074CA #CA7493 #BECA74 #74CAAB
square
#8074CA #CA7493 #BECA74 #74CAAB
split-complementary
#8074CA #CAAB74 #93CA74
monochromatic
#42368E #5848B9 #8074CA #A8A0DB #D1CDEC

Accessibility & contrast

On white

3.99
#8074CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8074CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8074CA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8074CA#FFFFFF#000000##000000
##8074CA1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#577DC8
Tritanopia (blue-blind)
#6D8595
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8074ca;
/* rgb */ color: rgb(128, 116, 202);
/* oklch */ color: oklch(60.7% 0.128 288.4);
Tailwind
colors: {
  custom: {
    50: '#a89cda',
    500: '#8074ca',
    950: '#000000',
  },
}
SCSS
$custom: #8074ca;
$custom-light: #a89cda;
$custom-dark: #000000;
JSON
{
  "hex": "#8074ca",
  "rgb": {
    "r": 128,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 248.372,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60746,
    "c": 0.12805,
    "h": 288.4
  },
  "luminance": 0.21344
}

Semantic roles & 50–950 ramp

primary
#8074CA
secondary
#D8DDBD
accent
#B82EA5
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8074CA

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

Preview Lab → · Contrast checker → · Palette generator →

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