#9175BC#9175BC

#9175BC is a mid, moderate violet. Relative luminance 0.224; OKLCH L 61.7% C 0.109 H 301.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9175BC
RGBrgb(145, 117, 188)
HSLhsl(264, 35%, 60%)
HSVhsv(264, 38%, 74%)
CMYKcmyk(22.9%, 37.8%, 0%, 26.3%)
CIE-LABlab(54.42, 25.61, -33.35)
CIE-LCHlch(54.42, 42.05, 307.51°)
OKLaboklab(61.72% 0.0567 -0.0926)
OKLCHoklch(61.72% 0.109 301.4)
XYZxyz(27.1135, 22.3731, 50.4572)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9175BC #A0BC75
analogous
#757DBC #9175BC #B575BC
triadic
#9175BC #BC9175 #75BC91
tetradic
#9175BC #BC757D #A0BC75 #75BCB5
square
#9175BC #BC757D #A0BC75 #75BCB5
split-complementary
#9175BC #BCB575 #7DBC75
monochromatic
#553C7B #7150A4 #9175BC #B29ED0 #D3C7E4

Accessibility & contrast

On white

3.84
#9175BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#9175BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9175BC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9175BC#FFFFFF#000000##000000
##9175BC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6482BF
Deuteranopia (green-blind)
#6982BA
Tritanopia (blue-blind)
#898090
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9175bc;
/* rgb */ color: rgb(145, 117, 188);
/* oklch */ color: oklch(61.7% 0.109 301.4);
Tailwind
colors: {
  custom: {
    50: '#b29dd0',
    500: '#9175bc',
    950: '#000000',
  },
}
SCSS
$custom: #9175bc;
$custom-light: #b29dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9175bc",
  "rgb": {
    "r": 145,
    "g": 117,
    "b": 188
  },
  "hsl": {
    "h": 263.662,
    "s": 34.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61725,
    "c": 0.10858,
    "h": 301.4
  },
  "luminance": 0.22373
}

Semantic roles & 50–950 ramp

primary
#9175BC
secondary
#C9D4B9
accent
#CB5D9F
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #9175BC

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

Preview Lab → · Contrast checker → · Palette generator →

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