#B175DC#B175DC

#B175DC is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.6% C 0.158 H 309.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B175DC
RGBrgb(177, 117, 220)
HSLhsl(275, 60%, 66%)
HSVhsv(275, 47%, 86%)
CMYKcmyk(19.5%, 46.8%, 0%, 13.7%)
CIE-LABlab(59.19, 42.31, -43.77)
CIE-LCHlch(59.19, 60.88, 314.03°)
OKLaboklab(66.56% 0.101 -0.1221)
OKLCHoklch(66.56% 0.158 309.6)
XYZxyz(37.4086, 27.2376, 70.9830)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B175DC #A0DC75
analogous
#7D75DC #B175DC #DC75D4
triadic
#B175DC #DCB175 #75DCB1
tetradic
#B175DC #DC7D75 #A0DC75 #75D4DC
square
#B175DC #DC7D75 #A0DC75 #75D4DC
split-complementary
#B175DC #D4DC75 #75DC7D
monochromatic
#762BAB #9544D0 #B175DC #CDA6E8 #E8D7F5

Accessibility & contrast

On white

3.26
#B175DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B175DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B175DC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B175DC#FFFFFF#000000##000000
##B175DC1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8CE0
Deuteranopia (green-blind)
#6D8FD9
Tritanopia (blue-blind)
#AC869E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b175dc;
/* rgb */ color: rgb(177, 117, 220);
/* oklch */ color: oklch(66.6% 0.158 309.6);
Tailwind
colors: {
  custom: {
    50: '#ca9ee7',
    500: '#b175dc',
    950: '#000000',
  },
}
SCSS
$custom: #b175dc;
$custom-light: #ca9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#b175dc",
  "rgb": {
    "r": 177,
    "g": 117,
    "b": 220
  },
  "hsl": {
    "h": 274.951,
    "s": 59.538,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66562,
    "c": 0.15841,
    "h": 309.6
  },
  "luminance": 0.27237
}

Semantic roles & 50–950 ramp

primary
#B175DC
secondary
#D4E7C5
accent
#C71E65
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B175DC

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

Preview Lab → · Contrast checker → · Palette generator →

#B175DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva