#8175CE#8175CE

#8175CE is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.2% C 0.132 H 288.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8175CE
RGBrgb(129, 117, 206)
HSLhsl(248, 48%, 63%)
HSVhsv(248, 43%, 81%)
CMYKcmyk(37.4%, 43.2%, 0%, 19.2%)
CIE-LABlab(53.86, 25.73, -44.60)
CIE-LCHlch(53.86, 51.49, 299.98°)
OKLaboklab(61.24% 0.0409 -0.1256)
OKLCHoklch(61.24% 0.132 288)
XYZxyz(26.5521, 21.8451, 61.1981)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8175CE #C2CE75
analogous
#7595CE #8175CE #AD75CE
triadic
#8175CE #CE8175 #75CE81
tetradic
#8175CE #CE7595 #C2CE75 #75CEAD
square
#8175CE #CE7595 #C2CE75 #75CEAD
split-complementary
#8175CE #CEAD75 #95CE75
monochromatic
#413594 #5848BE #8175CE #AAA2DE #D3CFEE

Accessibility & contrast

On white

3.91
#8175CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8175CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8175CE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8175CE#FFFFFF#000000##000000
##8175CE1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D1
Deuteranopia (green-blind)
#567ECC
Tritanopia (blue-blind)
#6D8697
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8175ce;
/* rgb */ color: rgb(129, 117, 206);
/* oklch */ color: oklch(61.2% 0.132 288.0);
Tailwind
colors: {
  custom: {
    50: '#a99ddd',
    500: '#8175ce',
    950: '#000000',
  },
}
SCSS
$custom: #8175ce;
$custom-light: #a99ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#8175ce",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 206
  },
  "hsl": {
    "h": 248.09,
    "s": 47.594,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61243,
    "c": 0.13211,
    "h": 288
  },
  "luminance": 0.21846
}

Semantic roles & 50–950 ramp

primary
#8175CE
secondary
#DBDFC0
accent
#BB2BA7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8175CE

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

Preview Lab → · Contrast checker → · Palette generator →

#8175CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva