#8175BC#8175BC

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

Color values

HEX#8175BC
RGBrgb(129, 117, 188)
HSLhsl(250, 35%, 60%)
HSVhsv(250, 38%, 74%)
CMYKcmyk(31.4%, 37.8%, 0%, 26.3%)
CIE-LABlab(52.97, 20.87, -35.73)
CIE-LCHlch(52.97, 41.38, 300.29°)
OKLaboklab(60.27% 0.0375 -0.0998)
OKLCHoklch(60.27% 0.107 290.6)
XYZxyz(24.4893, 21.0200, 50.3342)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8175BC #B0BC75
analogous
#758DBC #8175BC #A575BC
triadic
#8175BC #BC8175 #75BC81
tetradic
#8175BC #BC758D #B0BC75 #75BCA5
square
#8175BC #BC758D #B0BC75 #75BCA5
split-complementary
#8175BC #BCA575 #8DBC75
monochromatic
#463C7B #5E50A4 #8175BC #A79ED0 #CCC7E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8175BC#FFFFFF#000000##000000
##8175BC1.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)
#6080BF
Deuteranopia (green-blind)
#617DBA
Tritanopia (blue-blind)
#738290
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8175bc;
/* rgb */ color: rgb(129, 117, 188);
/* oklch */ color: oklch(60.3% 0.107 290.6);
Tailwind
colors: {
  custom: {
    50: '#a79cd0',
    500: '#8175bc',
    950: '#000000',
  },
}
SCSS
$custom: #8175bc;
$custom-light: #a79cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8175bc",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 188
  },
  "hsl": {
    "h": 250.141,
    "s": 34.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60274,
    "c": 0.10663,
    "h": 290.6
  },
  "luminance": 0.21021
}

Semantic roles & 50–950 ramp

primary
#8175BC
secondary
#CFD4B9
accent
#CB5DB8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8175BC

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

Preview Lab → · Contrast checker → · Palette generator →

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