#8175BB#8175BB

#8175BB is a mid, moderate violet. Relative luminance 0.210; OKLCH L 60.2% C 0.105 H 290.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8175BB
RGBrgb(129, 117, 187)
HSLhsl(250, 34%, 60%)
HSVhsv(250, 37%, 73%)
CMYKcmyk(31%, 37.4%, 0%, 26.7%)
CIE-LABlab(52.92, 20.61, -35.23)
CIE-LCHlch(52.92, 40.81, 300.33°)
OKLaboklab(60.22% 0.0373 -0.0984)
OKLCHoklch(60.22% 0.105 290.8)
XYZxyz(24.3819, 20.9771, 49.7685)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8175BB #AFBB75
analogous
#758CBB #8175BB #A475BB
triadic
#8175BB #BB8175 #75BB81
tetradic
#8175BB #BB758C #AFBB75 #75BBA4
square
#8175BB #BB758C #AFBB75 #75BBA4
split-complementary
#8175BB #BBA475 #8CBB75
monochromatic
#473C7A #5E50A3 #8175BB #A69ECF #CCC7E3

Accessibility & contrast

On white

4.04
#8175BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8175BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8175BB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8175BB#FFFFFF#000000##000000
##8175BB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BE
Deuteranopia (green-blind)
#617DB9
Tritanopia (blue-blind)
#74828F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8175bb;
/* rgb */ color: rgb(129, 117, 187);
/* oklch */ color: oklch(60.2% 0.105 290.8);
Tailwind
colors: {
  custom: {
    50: '#a79cd0',
    500: '#8175bb',
    950: '#000000',
  },
}
SCSS
$custom: #8175bb;
$custom-light: #a79cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8175bb",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 187
  },
  "hsl": {
    "h": 250.286,
    "s": 33.981,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60223,
    "c": 0.1052,
    "h": 290.8
  },
  "luminance": 0.20978
}

Semantic roles & 50–950 ramp

primary
#8175BB
secondary
#CFD3B8
accent
#CA5EB7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8175BB

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

Preview Lab → · Contrast checker → · Palette generator →

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