#8175CD#8175CD

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

Color values

HEX#8175CD
RGBrgb(129, 117, 205)
HSLhsl(248, 47%, 63%)
HSVhsv(248, 43%, 80%)
CMYKcmyk(37.1%, 42.9%, 0%, 19.6%)
CIE-LABlab(53.81, 25.45, -44.11)
CIE-LCHlch(53.81, 50.93, 299.98°)
OKLaboklab(61.19% 0.0407 -0.1242)
OKLCHoklch(61.19% 0.131 288.2)
XYZxyz(26.4310, 21.7967, 60.5604)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8175CD #C1CD75
analogous
#7595CD #8175CD #AD75CD
triadic
#8175CD #CD8175 #75CD81
tetradic
#8175CD #CD7595 #C1CD75 #75CDAD
square
#8175CD #CD7595 #C1CD75 #75CDAD
split-complementary
#8175CD #CDAD75 #95CD75
monochromatic
#423593 #5848BD #8175CD #AAA2DD #D3CFEE

Accessibility & contrast

On white

3.92
#8175CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#8175CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8175CD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8175CD#FFFFFF#000000##000000
##8175CD1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D0
Deuteranopia (green-blind)
#577ECB
Tritanopia (blue-blind)
#6D8697
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8175cd;
/* rgb */ color: rgb(129, 117, 205);
/* oklch */ color: oklch(61.2% 0.131 288.2);
Tailwind
colors: {
  custom: {
    50: '#a99ddc',
    500: '#8175cd',
    950: '#000000',
  },
}
SCSS
$custom: #8175cd;
$custom-light: #a99ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8175cd",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 205
  },
  "hsl": {
    "h": 248.182,
    "s": 46.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61187,
    "c": 0.13071,
    "h": 288.2
  },
  "luminance": 0.21797
}

Semantic roles & 50–950 ramp

primary
#8175CD
secondary
#DADFBF
accent
#BA2BA7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8175CD

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

Preview Lab → · Contrast checker → · Palette generator →

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