#B175F6#B175F6

#B175F6 is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.189 H 303.2°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B175F6
RGBrgb(177, 117, 246)
HSLhsl(268, 88%, 71%)
HSVhsv(268, 52%, 96%)
CMYKcmyk(28%, 52.4%, 0%, 3.5%)
CIE-LABlab(60.54, 48.27, -56.12)
CIE-LCHlch(60.54, 74.02, 310.70°)
OKLaboklab(68% 0.1035 -0.158)
OKLCHoklch(68% 0.189 303.2)
XYZxyz(41.1236, 28.7236, 90.5486)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B175F6 #BAF675
analogous
#7579F6 #B175F6 #F175F6
triadic
#B175F6 #F6B175 #75F6B1
tetradic
#B175F6 #F67579 #BAF675 #75F6F1
square
#B175F6 #F67579 #BAF675 #75F6F1
split-complementary
#B175F6 #F6F175 #79F675
monochromatic
#710FE2 #913CF2 #B175F6 #D1AEFA #EFE2FD

Accessibility & contrast

On white

3.11
#B175F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B175F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B175F6
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B175F6#FFFFFF#000000##000000
##B175F61.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FA
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#A48DAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b175f6;
/* rgb */ color: rgb(177, 117, 246);
/* oklch */ color: oklch(68.0% 0.189 303.2);
Tailwind
colors: {
  custom: {
    50: '#cb9efa',
    500: '#b175f6',
    950: '#000000',
  },
}
SCSS
$custom: #b175f6;
$custom-light: #cb9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#b175f6",
  "rgb": {
    "r": 177,
    "g": 117,
    "b": 246
  },
  "hsl": {
    "h": 267.907,
    "s": 87.755,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67996,
    "c": 0.18891,
    "h": 303.2
  },
  "luminance": 0.28724
}

Semantic roles & 50–950 ramp

primary
#B175F6
secondary
#E5F4D2
accent
#E4017B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B175F6

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

Preview Lab → · Contrast checker → · Palette generator →

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