#B175EB#B175EB

#B175EB is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.4% C 0.176 H 305.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B175EB
RGBrgb(177, 117, 235)
HSLhsl(271, 75%, 69%)
HSVhsv(271, 50%, 92%)
CMYKcmyk(24.7%, 50.2%, 0%, 7.8%)
CIE-LABlab(59.95, 45.71, -50.95)
CIE-LCHlch(59.95, 68.45, 311.89°)
OKLaboklab(67.37% 0.1027 -0.143)
OKLCHoklch(67.37% 0.176 305.7)
XYZxyz(39.4850, 28.0681, 81.9187)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B175EB #AFEB75
analogous
#7675EB #B175EB #EB75EA
triadic
#B175EB #EBB175 #75EBB1
tetradic
#B175EB #EB7675 #AFEB75 #75EAEB
square
#B175EB #EB7675 #AFEB75 #75EAEB
split-complementary
#B175EB #EAEB75 #75EB76
monochromatic
#741DC9 #9340E3 #B175EB #CFAAF3 #EDE0FA

Accessibility & contrast

On white

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

On black

6.61
#B175EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B175EB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B175EB#FFFFFF#000000##000000
##B175EB1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FEF
Deuteranopia (green-blind)
#6391E8
Tritanopia (blue-blind)
#A88AA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b175eb;
/* rgb */ color: rgb(177, 117, 235);
/* oklch */ color: oklch(67.4% 0.176 305.7);
Tailwind
colors: {
  custom: {
    50: '#cb9ef2',
    500: '#b175eb',
    950: '#000000',
  },
}
SCSS
$custom: #b175eb;
$custom-light: #cb9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b175eb",
  "rgb": {
    "r": 177,
    "g": 117,
    "b": 235
  },
  "hsl": {
    "h": 270.508,
    "s": 74.684,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67372,
    "c": 0.176,
    "h": 305.7
  },
  "luminance": 0.28068
}

Semantic roles & 50–950 ramp

primary
#B175EB
secondary
#DEEFCD
accent
#D70F71
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B175EB

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

Preview Lab → · Contrast checker → · Palette generator →

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