#8174F7#8174F7

#8174F7 is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.6% C 0.189 H 284.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8174F7
RGBrgb(129, 116, 247)
HSLhsl(246, 89%, 71%)
HSVhsv(246, 53%, 97%)
CMYKcmyk(47.8%, 53%, 0%, 3.1%)
CIE-LABlab(55.96, 37.96, -64.25)
CIE-LCHlch(55.96, 74.63, 300.58°)
OKLaboklab(63.57% 0.0462 -0.1832)
OKLCHoklch(63.57% 0.189 284.1)
XYZxyz(32.0822, 23.8717, 90.8949)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8174F7 #EAF774
analogous
#74A8F7 #8174F7 #C274F7
triadic
#8174F7 #F78174 #74F781
tetradic
#8174F7 #F774A8 #EAF774 #74F7C2
square
#8174F7 #F774A8 #EAF774 #74F7C2
split-complementary
#8174F7 #F7C274 #A8F774
monochromatic
#220DE4 #4D3AF4 #8174F7 #B5AEFA #E5E2FD

Accessibility & contrast

On white

3.64
#8174F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8174F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8174F7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8174F7#FFFFFF#000000##000000
##8174F71.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8AFC
Deuteranopia (green-blind)
#2582F4
Tritanopia (blue-blind)
#5791AA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8174f7;
/* rgb */ color: rgb(129, 116, 247);
/* oklch */ color: oklch(63.6% 0.189 284.1);
Tailwind
colors: {
  custom: {
    50: '#ad9cfb',
    500: '#8174f7',
    950: '#000000',
  },
}
SCSS
$custom: #8174f7;
$custom-light: #ad9cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8174f7",
  "rgb": {
    "r": 129,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 245.954,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63572,
    "c": 0.18896,
    "h": 284.1
  },
  "luminance": 0.23873
}

Semantic roles & 50–950 ramp

primary
#8174F7
secondary
#F1F5D2
accent
#E600CF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8174F7

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

Preview Lab → · Contrast checker → · Palette generator →

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