#8174CA#8174CA

#8174CA is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.8% C 0.128 H 288.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8174CA
RGBrgb(129, 116, 202)
HSLhsl(249, 45%, 62%)
HSVhsv(249, 43%, 79%)
CMYKcmyk(36.1%, 42.6%, 0%, 20.8%)
CIE-LABlab(53.41, 25.22, -43.04)
CIE-LCHlch(53.41, 49.89, 300.37°)
OKLaboklab(60.83% 0.0416 -0.1211)
OKLCHoklch(60.83% 0.128 288.9)
XYZxyz(25.9565, 21.4215, 58.6328)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8174CA #BDCA74
analogous
#7492CA #8174CA #AC74CA
triadic
#8174CA #CA8174 #74CA81
tetradic
#8174CA #CA7492 #BDCA74 #74CAAC
square
#8174CA #CA7492 #BDCA74 #74CAAC
split-complementary
#8174CA #CAAC74 #92CA74
monochromatic
#43368E #5948B9 #8174CA #A9A0DB #D1CDEC

Accessibility & contrast

On white

3.97
#8174CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8174CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8174CA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8174CA#FFFFFF#000000##000000
##8174CA1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#577EC8
Tritanopia (blue-blind)
#6E8495
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8174ca;
/* rgb */ color: rgb(129, 116, 202);
/* oklch */ color: oklch(60.8% 0.128 288.9);
Tailwind
colors: {
  custom: {
    50: '#a89cda',
    500: '#8174ca',
    950: '#000000',
  },
}
SCSS
$custom: #8174ca;
$custom-light: #a89cda;
$custom-dark: #000000;
JSON
{
  "hex": "#8174ca",
  "rgb": {
    "r": 129,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 249.07,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60831,
    "c": 0.12803,
    "h": 288.9
  },
  "luminance": 0.21422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8174CA

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

Preview Lab → · Contrast checker → · Palette generator →

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