#8174D9#8174D9

#8174D9 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.7% C 0.149 H 287.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8174D9
RGBrgb(129, 116, 217)
HSLhsl(248, 57%, 65%)
HSVhsv(248, 47%, 85%)
CMYKcmyk(40.6%, 46.5%, 0%, 14.9%)
CIE-LABlab(54.20, 29.38, -50.29)
CIE-LCHlch(54.20, 58.24, 300.29°)
OKLaboklab(61.69% 0.0438 -0.1422)
OKLCHoklch(61.69% 0.149 287.1)
XYZxyz(27.8195, 22.1667, 68.4450)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8174D9 #CCD974
analogous
#7499D9 #8174D9 #B474D9
triadic
#8174D9 #D98174 #74D981
tetradic
#8174D9 #D97499 #CCD974 #74D9B4
square
#8174D9 #D97499 #CCD974 #74D9B4
split-complementary
#8174D9 #D9B474 #99D974
monochromatic
#3D2DA5 #5544CC #8174D9 #ADA4E6 #D8D4F3

Accessibility & contrast

On white

3.86
#8174D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8174D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8174D9
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8174D9#FFFFFF#000000##000000
##8174D91.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D84DD
Deuteranopia (green-blind)
#4C7FD7
Tritanopia (blue-blind)
#68889C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8174d9;
/* rgb */ color: rgb(129, 116, 217);
/* oklch */ color: oklch(61.7% 0.149 287.1);
Tailwind
colors: {
  custom: {
    50: '#aa9ce5',
    500: '#8174d9',
    950: '#000000',
  },
}
SCSS
$custom: #8174d9;
$custom-light: #aa9ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#8174d9",
  "rgb": {
    "r": 129,
    "g": 116,
    "b": 217
  },
  "hsl": {
    "h": 247.723,
    "s": 57.062,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61691,
    "c": 0.14883,
    "h": 287.1
  },
  "luminance": 0.22168
}

Semantic roles & 50–950 ramp

primary
#8174D9
secondary
#E1E5C3
accent
#C521B0
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8174D9

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

Preview Lab → · Contrast checker → · Palette generator →

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