#B175E7#B175E7

#B175E7 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.2% C 0.171 H 306.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B175E7
RGBrgb(177, 117, 231)
HSLhsl(272, 70%, 68%)
HSVhsv(272, 49%, 91%)
CMYKcmyk(23.4%, 49.4%, 0%, 9.4%)
CIE-LABlab(59.74, 44.79, -49.05)
CIE-LCHlch(59.74, 66.43, 312.40°)
OKLaboklab(67.15% 0.1023 -0.1374)
OKLCHoklch(67.15% 0.171 306.7)
XYZxyz(38.9136, 27.8396, 78.9094)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B175E7 #ABE775
analogous
#7875E7 #B175E7 #E775E4
triadic
#B175E7 #E7B175 #75E7B1
tetradic
#B175E7 #E77875 #ABE775 #75E4E7
square
#B175E7 #E77875 #ABE775 #75E4E7
split-complementary
#B175E7 #E4E775 #75E778
monochromatic
#7521C0 #9441DE #B175E7 #CEA9F0 #ECDDF9

Accessibility & contrast

On white

3.20
#B175E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#B175E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B175E7
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B175E7#FFFFFF#000000##000000
##B175E71.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#558EEB
Deuteranopia (green-blind)
#6690E4
Tritanopia (blue-blind)
#A989A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b175e7;
/* rgb */ color: rgb(177, 117, 231);
/* oklch */ color: oklch(67.2% 0.171 306.7);
Tailwind
colors: {
  custom: {
    50: '#cb9eef',
    500: '#b175e7',
    950: '#000000',
  },
}
SCSS
$custom: #b175e7;
$custom-light: #cb9eef;
$custom-dark: #000000;
JSON
{
  "hex": "#b175e7",
  "rgb": {
    "r": 177,
    "g": 117,
    "b": 231
  },
  "hsl": {
    "h": 271.579,
    "s": 70.37,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67151,
    "c": 0.1713,
    "h": 306.7
  },
  "luminance": 0.27839
}

Semantic roles & 50–950 ramp

primary
#B175E7
secondary
#DBEDCB
accent
#D2136E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B175E7

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

Preview Lab → · Contrast checker → · Palette generator →

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