#8174EA#8174EA

#8174EA is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.7% C 0.172 H 285.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8174EA
RGBrgb(129, 116, 234)
HSLhsl(247, 74%, 69%)
HSVhsv(247, 50%, 92%)
CMYKcmyk(44.9%, 50.4%, 0%, 8.2%)
CIE-LABlab(55.17, 34.21, -58.28)
CIE-LCHlch(55.17, 67.58, 300.41°)
OKLaboklab(62.73% 0.0454 -0.1657)
OKLCHoklch(62.73% 0.172 285.3)
XYZxyz(30.1456, 23.0971, 80.6958)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8174EA #DDEA74
analogous
#74A2EA #8174EA #BC74EA
triadic
#8174EA #EA8174 #74EA81
tetradic
#8174EA #EA74A2 #DDEA74 #74EABC
square
#8174EA #EA74A2 #DDEA74 #74EABC
split-complementary
#8174EA #EABC74 #A2EA74
monochromatic
#301EC6 #513FE2 #8174EA #B1A9F2 #E1DEFA

Accessibility & contrast

On white

3.74
#8174EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8174EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8174EA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8174EA#FFFFFF#000000##000000
##8174EA1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#3B81E7
Tritanopia (blue-blind)
#5F8DA4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8174ea;
/* rgb */ color: rgb(129, 116, 234);
/* oklch */ color: oklch(62.7% 0.172 285.3);
Tailwind
colors: {
  custom: {
    50: '#ab9cf1',
    500: '#8174ea',
    950: '#000000',
  },
}
SCSS
$custom: #8174ea;
$custom-light: #ab9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8174ea",
  "rgb": {
    "r": 129,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 246.61,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62732,
    "c": 0.17181,
    "h": 285.3
  },
  "luminance": 0.23098
}

Semantic roles & 50–950 ramp

primary
#8174EA
secondary
#EBEFCB
accent
#D610C0
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8174EA

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

Preview Lab → · Contrast checker → · Palette generator →

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