#B17FE3#B17FE3

#B17FE3 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.6% C 0.150 H 305.9°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#B17FE3
RGBrgb(177, 127, 227)
HSLhsl(270, 64%, 69%)
HSVhsv(270, 44%, 89%)
CMYKcmyk(22%, 44.1%, 0%, 11%)
CIE-LABlab(61.72, 38.40, -43.71)
CIE-LCHlch(61.72, 58.18, 311.30°)
OKLaboklab(68.56% 0.0881 -0.1219)
OKLCHoklch(68.56% 0.15 305.9)
XYZxyz(39.5831, 30.0722, 76.3774)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17FE3 #B1E37F
analogous
#7F7FE3 #B17FE3 #E37FE3
triadic
#B17FE3 #E3B17F #7FE3B1
tetradic
#B17FE3 #E37F7F #B1E37F #7FE3E3
square
#B17FE3 #E37F7F #B1E37F #7FE3E3
split-complementary
#B17FE3 #E3E37F #7FE37F
monochromatic
#742ABE #924DD8 #B17FE3 #D0B1EE #EEE3F9

Accessibility & contrast

On white

2.99
#B17FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#B17FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B17FE3
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17FE3#FFFFFF#000000##000000
##B17FE31.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6693E7
Deuteranopia (green-blind)
#7295E0
Tritanopia (blue-blind)
#A98FA6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b17fe3;
/* rgb */ color: rgb(177, 127, 227);
/* oklch */ color: oklch(68.6% 0.150 305.9);
Tailwind
colors: {
  custom: {
    50: '#caa5ec',
    500: '#b17fe3',
    950: '#000000',
  },
}
SCSS
$custom: #b17fe3;
$custom-light: #caa5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b17fe3",
  "rgb": {
    "r": 177,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 270,
    "s": 64.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6856,
    "c": 0.15044,
    "h": 305.9
  },
  "luminance": 0.30072
}

Semantic roles & 50–950 ramp

primary
#B17FE3
secondary
#DFEDD0
accent
#CC1A73
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B17FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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