#B175FE#B175FE

#B175FE is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.5% C 0.198 H 301.6°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#B175FE
RGBrgb(177, 117, 254)
HSLhsl(266, 99%, 73%)
HSVhsv(266, 54%, 100%)
CMYKcmyk(30.3%, 53.9%, 0%, 0.4%)
CIE-LABlab(60.98, 50.17, -59.82)
CIE-LCHlch(60.98, 78.07, 309.98°)
OKLaboklab(68.47% 0.1039 -0.1689)
OKLCHoklch(68.47% 0.198 301.6)
XYZxyz(42.3780, 29.2253, 97.1552)
Luminance0.2923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B175FE #C2FE75
analogous
#757EFE #B175FE #F575FE
triadic
#B175FE #FEB175 #75FEB1
tetradic
#B175FE #FE757E #C2FE75 #75FEF5
square
#B175FE #FE757E #C2FE75 #75FEF5
split-complementary
#B175FE #FEF575 #7EFE75
monochromatic
#6D02F7 #8F38FE #B175FE #D3B2FE #EEE1FF

Accessibility & contrast

On white

3.07
#B175FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#B175FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B175FE
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B175FE#FFFFFF#000000##000000
##B175FE1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#5493FB
Tritanopia (blue-blind)
#A290AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b175fe;
/* rgb */ color: rgb(177, 117, 254);
/* oklch */ color: oklch(68.5% 0.198 301.6);
Tailwind
colors: {
  custom: {
    50: '#cc9eff',
    500: '#b175fe',
    950: '#000000',
  },
}
SCSS
$custom: #b175fe;
$custom-light: #cc9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b175fe",
  "rgb": {
    "r": 177,
    "g": 117,
    "b": 254
  },
  "hsl": {
    "h": 266.277,
    "s": 98.561,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68467,
    "c": 0.19828,
    "h": 301.6
  },
  "luminance": 0.29225
}

Semantic roles & 50–950 ramp

primary
#B175FE
secondary
#E8F7D4
accent
#E60081
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F18
muted
#827E86

Preview Lab

Preview with #B175FE

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

Preview Lab → · Contrast checker → · Palette generator →

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