#8174F5#8174F5

#8174F5 is a light, vivid blue. Relative luminance 0.237; OKLCH L 63.4% C 0.186 H 284.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8174F5
RGBrgb(129, 116, 245)
HSLhsl(246, 87%, 71%)
HSVhsv(246, 53%, 96%)
CMYKcmyk(47.3%, 52.7%, 0%, 3.9%)
CIE-LABlab(55.84, 37.38, -63.34)
CIE-LCHlch(55.84, 73.55, 300.55°)
OKLaboklab(63.44% 0.0461 -0.1806)
OKLCHoklch(63.44% 0.186 284.3)
XYZxyz(31.7752, 23.7490, 89.2782)
Luminance0.2375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8174F5 #E8F574
analogous
#74A7F5 #8174F5 #C274F5
triadic
#8174F5 #F58174 #74F581
tetradic
#8174F5 #F574A7 #E8F574 #74F5C2
square
#8174F5 #F574A7 #E8F574 #74F5C2
split-complementary
#8174F5 #F5C274 #A7F574
monochromatic
#2510DF #4D3BF1 #8174F5 #B5ADF9 #E5E2FD

Accessibility & contrast

On white

3.65
#8174F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8174F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8174F5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8174F5#FFFFFF#000000##000000
##8174F51.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#318AF9
Deuteranopia (green-blind)
#2A82F2
Tritanopia (blue-blind)
#5990A9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8174f5;
/* rgb */ color: rgb(129, 116, 245);
/* oklch */ color: oklch(63.4% 0.186 284.3);
Tailwind
colors: {
  custom: {
    50: '#ac9cf9',
    500: '#8174f5',
    950: '#000000',
  },
}
SCSS
$custom: #8174f5;
$custom-light: #ac9cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8174f5",
  "rgb": {
    "r": 129,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 246.047,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63441,
    "c": 0.18636,
    "h": 284.3
  },
  "luminance": 0.2375
}

Semantic roles & 50–950 ramp

primary
#8174F5
secondary
#F0F4D1
accent
#E302CC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8174F5

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

Preview Lab → · Contrast checker → · Palette generator →

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