#8074CD#8074CD

#8074CD is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.9% C 0.132 H 288.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8074CD
RGBrgb(128, 116, 205)
HSLhsl(248, 47%, 63%)
HSVhsv(248, 43%, 80%)
CMYKcmyk(37.6%, 43.4%, 0%, 19.6%)
CIE-LABlab(53.48, 25.78, -44.65)
CIE-LCHlch(53.48, 51.55, 300.00°)
OKLaboklab(60.91% 0.0409 -0.1258)
OKLCHoklch(60.91% 0.132 288)
XYZxyz(26.1639, 21.4870, 60.5146)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8074CD #C1CD74
analogous
#7494CD #8074CD #AC74CD
triadic
#8074CD #CD8074 #74CD80
tetradic
#8074CD #CD7494 #C1CD74 #74CDAC
square
#8074CD #CD7494 #C1CD74 #74CDAC
split-complementary
#8074CD #CDAC74 #94CD74
monochromatic
#413592 #5747BD #8074CD #A9A1DD #D2CEED

Accessibility & contrast

On white

3.96
#8074CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8074CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8074CD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8074CD#FFFFFF#000000##000000
##8074CD1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#557ECB
Tritanopia (blue-blind)
#6B8597
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8074cd;
/* rgb */ color: rgb(128, 116, 205);
/* oklch */ color: oklch(60.9% 0.132 288.0);
Tailwind
colors: {
  custom: {
    50: '#a89cdd',
    500: '#8074cd',
    950: '#000000',
  },
}
SCSS
$custom: #8074cd;
$custom-light: #a89cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8074cd",
  "rgb": {
    "r": 128,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 248.09,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60914,
    "c": 0.13225,
    "h": 288
  },
  "luminance": 0.21488
}

Semantic roles & 50–950 ramp

primary
#8074CD
secondary
#DADEBE
accent
#BA2BA7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8074CD

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

Preview Lab → · Contrast checker → · Palette generator →

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