#B175F5#B175F5

#B175F5 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.9% C 0.188 H 303.4°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#B175F5
RGBrgb(177, 117, 245)
HSLhsl(268, 86%, 71%)
HSVhsv(268, 52%, 96%)
CMYKcmyk(27.8%, 52.2%, 0%, 3.9%)
CIE-LABlab(60.48, 48.03, -55.65)
CIE-LCHlch(60.48, 73.52, 310.80°)
OKLaboklab(67.94% 0.1034 -0.1567)
OKLCHoklch(67.94% 0.188 303.4)
XYZxyz(40.9705, 28.6623, 89.7425)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B175F5 #B9F575
analogous
#7579F5 #B175F5 #F175F5
triadic
#B175F5 #F5B175 #75F5B1
tetradic
#B175F5 #F57579 #B9F575 #75F5F1
square
#B175F5 #F57579 #B9F575 #75F5F1
split-complementary
#B175F5 #F5F175 #79F575
monochromatic
#7110DF #913CF1 #B175F5 #D1AEF9 #EFE2FD

Accessibility & contrast

On white

3.12
#B175F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#B175F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B175F5
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B175F5#FFFFFF#000000##000000
##B175F51.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4990F9
Deuteranopia (green-blind)
#5C92F2
Tritanopia (blue-blind)
#A58DAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b175f5;
/* rgb */ color: rgb(177, 117, 245);
/* oklch */ color: oklch(67.9% 0.188 303.4);
Tailwind
colors: {
  custom: {
    50: '#cb9ef9',
    500: '#b175f5',
    950: '#000000',
  },
}
SCSS
$custom: #b175f5;
$custom-light: #cb9ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#b175f5",
  "rgb": {
    "r": 177,
    "g": 117,
    "b": 245
  },
  "hsl": {
    "h": 268.125,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67938,
    "c": 0.18774,
    "h": 303.4
  },
  "luminance": 0.28662
}

Semantic roles & 50–950 ramp

primary
#B175F5
secondary
#E4F4D2
accent
#E3027A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B175F5

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

Preview Lab → · Contrast checker → · Palette generator →

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