#8074DD#8074DD

#8074DD is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.8% C 0.154 H 286.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8074DD
RGBrgb(128, 116, 221)
HSLhsl(247, 61%, 66%)
HSVhsv(247, 48%, 87%)
CMYKcmyk(42.1%, 47.5%, 0%, 13.3%)
CIE-LABlab(54.34, 30.26, -52.32)
CIE-LCHlch(54.34, 60.44, 300.04°)
OKLaboklab(61.85% 0.043 -0.1482)
OKLCHoklch(61.85% 0.154 286.2)
XYZxyz(28.1949, 22.2994, 71.2112)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8074DD #D1DD74
analogous
#749CDD #8074DD #B474DD
triadic
#8074DD #DD8074 #74DD80
tetradic
#8074DD #DD749C #D1DD74 #74DDB4
square
#8074DD #DD749C #D1DD74 #74DDB4
split-complementary
#8074DD #DDB474 #9CDD74
monochromatic
#392AAC #5343D1 #8074DD #ADA5E9 #DAD6F5

Accessibility & contrast

On white

3.85
#8074DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8074DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8074DD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8074DD#FFFFFF#000000##000000
##8074DD1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A85E1
Deuteranopia (green-blind)
#487FDB
Tritanopia (blue-blind)
#648A9E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8074dd;
/* rgb */ color: rgb(128, 116, 221);
/* oklch */ color: oklch(61.8% 0.154 286.2);
Tailwind
colors: {
  custom: {
    50: '#a99ce8',
    500: '#8074dd',
    950: '#000000',
  },
}
SCSS
$custom: #8074dd;
$custom-light: #a99ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#8074dd",
  "rgb": {
    "r": 128,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 246.857,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61848,
    "c": 0.15436,
    "h": 286.2
  },
  "luminance": 0.223
}

Semantic roles & 50–950 ramp

primary
#8074DD
secondary
#E4E8C5
accent
#C81DB5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8074DD

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

Preview Lab → · Contrast checker → · Palette generator →

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