#8172F9#8172F9

#8172F9 is a light, vivid blue. Relative luminance 0.235; OKLCH L 63.4% C 0.194 H 284.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8172F9
RGBrgb(129, 114, 249)
HSLhsl(247, 92%, 71%)
HSVhsv(247, 54%, 98%)
CMYKcmyk(48.2%, 54.2%, 0%, 2.4%)
CIE-LABlab(55.62, 39.71, -65.90)
CIE-LCHlch(55.62, 76.94, 301.07°)
OKLaboklab(63.36% 0.0484 -0.1881)
OKLCHoklch(63.36% 0.194 284.4)
XYZxyz(32.1644, 23.5397, 92.4530)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8172F9 #EAF972
analogous
#72A6F9 #8172F9 #C472F9
triadic
#8172F9 #F98172 #72F981
tetradic
#8172F9 #F972A6 #EAF972 #72F9C4
square
#8172F9 #F972A6 #EAF972 #72F9C4
split-complementary
#8172F9 #F9C472 #A6F972
monochromatic
#220AE7 #4D37F7 #8172F9 #B5ADFB #E5E2FE

Accessibility & contrast

On white

3.68
#8172F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8172F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8172F9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8172F9#FFFFFF#000000##000000
##8172F91.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2389FE
Deuteranopia (green-blind)
#1981F6
Tritanopia (blue-blind)
#5690AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8172f9;
/* rgb */ color: rgb(129, 114, 249);
/* oklch */ color: oklch(63.4% 0.194 284.4);
Tailwind
colors: {
  custom: {
    50: '#ad9bfc',
    500: '#8172f9',
    950: '#000000',
  },
}
SCSS
$custom: #8172f9;
$custom-light: #ad9bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8172f9",
  "rgb": {
    "r": 129,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 246.667,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63363,
    "c": 0.19423,
    "h": 284.4
  },
  "luminance": 0.23541
}

Semantic roles & 50–950 ramp

primary
#8172F9
secondary
#F1F5D2
accent
#E600CC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8172F9

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

Preview Lab → · Contrast checker → · Palette generator →

#8172F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva