#B175E2#B175E2

#B175E2 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.165 H 307.9°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B175E2
RGBrgb(177, 117, 226)
HSLhsl(273, 65%, 67%)
HSVhsv(273, 48%, 89%)
CMYKcmyk(21.7%, 48.2%, 0%, 11.4%)
CIE-LABlab(59.49, 43.66, -46.67)
CIE-LCHlch(59.49, 63.90, 313.09°)
OKLaboklab(66.88% 0.1017 -0.1305)
OKLCHoklch(66.88% 0.165 307.9)
XYZxyz(38.2175, 27.5611, 75.2433)
Luminance0.2756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B175E2 #A6E275
analogous
#7B75E2 #B175E2 #E275DC
triadic
#B175E2 #E2B175 #75E2B1
tetradic
#B175E2 #E27B75 #A6E275 #75DCE2
square
#B175E2 #E27B75 #A6E275 #75DCE2
split-complementary
#B175E2 #DCE275 #75E27B
monochromatic
#7626B6 #9442D7 #B175E2 #CEA8ED #EADAF7

Accessibility & contrast

On white

3.22
#B175E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#B175E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B175E2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B175E2#FFFFFF#000000##000000
##B175E21.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#588DE6
Deuteranopia (green-blind)
#6990DF
Tritanopia (blue-blind)
#AA87A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b175e2;
/* rgb */ color: rgb(177, 117, 226);
/* oklch */ color: oklch(66.9% 0.165 307.9);
Tailwind
colors: {
  custom: {
    50: '#ca9eeb',
    500: '#b175e2',
    950: '#000000',
  },
}
SCSS
$custom: #b175e2;
$custom-light: #ca9eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#b175e2",
  "rgb": {
    "r": 177,
    "g": 117,
    "b": 226
  },
  "hsl": {
    "h": 273.028,
    "s": 65.269,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6688,
    "c": 0.16543,
    "h": 307.9
  },
  "luminance": 0.27561
}

Semantic roles & 50–950 ramp

primary
#B175E2
secondary
#D8EBC8
accent
#CD186A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B175E2

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

Preview Lab → · Contrast checker → · Palette generator →

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