#8074DA#8074DA

#8074DA is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.7% C 0.150 H 286.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8074DA
RGBrgb(128, 116, 218)
HSLhsl(247, 58%, 65%)
HSVhsv(247, 47%, 85%)
CMYKcmyk(41.3%, 46.8%, 0%, 14.5%)
CIE-LABlab(54.18, 29.41, -50.90)
CIE-LCHlch(54.18, 58.78, 300.02°)
OKLaboklab(61.67% 0.0427 -0.1441)
OKLCHoklch(61.67% 0.15 286.5)
XYZxyz(27.7988, 22.1409, 69.1250)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8074DA #CEDA74
analogous
#749BDA #8074DA #B374DA
triadic
#8074DA #DA8074 #74DA80
tetradic
#8074DA #DA749B #CEDA74 #74DAB3
square
#8074DA #DA749B #CEDA74 #74DAB3
split-complementary
#8074DA #DAB374 #9BDA74
monochromatic
#3B2CA7 #5444CD #8074DA #ACA4E7 #D8D5F4

Accessibility & contrast

On white

3.87
#8074DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8074DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8074DA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8074DA#FFFFFF#000000##000000
##8074DA1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C84DE
Deuteranopia (green-blind)
#4B7FD8
Tritanopia (blue-blind)
#66899D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8074da;
/* rgb */ color: rgb(128, 116, 218);
/* oklch */ color: oklch(61.7% 0.150 286.5);
Tailwind
colors: {
  custom: {
    50: '#a99ce6',
    500: '#8074da',
    950: '#000000',
  },
}
SCSS
$custom: #8074da;
$custom-light: #a99ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#8074da",
  "rgb": {
    "r": 128,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 247.059,
    "s": 57.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61668,
    "c": 0.15026,
    "h": 286.5
  },
  "luminance": 0.22142
}

Semantic roles & 50–950 ramp

primary
#8074DA
secondary
#E2E6C4
accent
#C620B2
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8074DA

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

Preview Lab → · Contrast checker → · Palette generator →

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