#B175EA#B175EA

#B175EA is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.3% C 0.175 H 305.9°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B175EA
RGBrgb(177, 117, 234)
HSLhsl(271, 74%, 69%)
HSVhsv(271, 50%, 92%)
CMYKcmyk(24.4%, 50%, 0%, 8.2%)
CIE-LABlab(59.90, 45.48, -50.48)
CIE-LCHlch(59.90, 67.94, 312.02°)
OKLaboklab(67.32% 0.1026 -0.1416)
OKLCHoklch(67.32% 0.175 305.9)
XYZxyz(39.3409, 28.0105, 81.1600)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B175EA #AEEA75
analogous
#7775EA #B175EA #EA75E9
triadic
#B175EA #EAB175 #75EAB1
tetradic
#B175EA #EA7775 #AEEA75 #75E9EA
square
#B175EA #EA7775 #AEEA75 #75E9EA
split-complementary
#B175EA #E9EA75 #75EA77
monochromatic
#741EC6 #9340E2 #B175EA #CFAAF2 #EDDFFA

Accessibility & contrast

On white

3.18
#B175EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#B175EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B175EA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B175EA#FFFFFF#000000##000000
##B175EA1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#538EEE
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#A88AA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b175ea;
/* rgb */ color: rgb(177, 117, 234);
/* oklch */ color: oklch(67.3% 0.175 305.9);
Tailwind
colors: {
  custom: {
    50: '#cb9ef1',
    500: '#b175ea',
    950: '#000000',
  },
}
SCSS
$custom: #b175ea;
$custom-light: #cb9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#b175ea",
  "rgb": {
    "r": 177,
    "g": 117,
    "b": 234
  },
  "hsl": {
    "h": 270.769,
    "s": 73.585,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67316,
    "c": 0.17482,
    "h": 305.9
  },
  "luminance": 0.2801
}

Semantic roles & 50–950 ramp

primary
#B175EA
secondary
#DDEFCC
accent
#D61070
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B175EA

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

Preview Lab → · Contrast checker → · Palette generator →

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