#B17FFC#B17FFC

#B17FFC is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.9% C 0.181 H 300.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#B17FFC
RGBrgb(177, 127, 252)
HSLhsl(264, 95%, 74%)
HSVhsv(264, 50%, 99%)
CMYKcmyk(29.8%, 49.6%, 0%, 1.2%)
CIE-LABlab(62.97, 44.29, -55.54)
CIE-LCHlch(62.97, 71.04, 308.57°)
OKLaboklab(69.91% 0.0912 -0.1564)
OKLCHoklch(69.91% 0.181 300.2)
XYZxyz(43.2874, 31.5539, 95.8866)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17FFC #CAFC7F
analogous
#7F8CFC #B17FFC #F07FFC
triadic
#B17FFC #FCB17F #7FFCB1
tetradic
#B17FFC #FC7F8C #CAFC7F #7FFCF0
square
#B17FFC #FC7F8C #CAFC7F #7FFCF0
split-complementary
#B17FFC #FCF07F #8CFC7F
monochromatic
#6807F9 #8D43FB #B17FFC #D5BBFD #EDE1FE

Accessibility & contrast

On white

2.87
#B17FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#B17FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B17FFC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17FFC#FFFFFF#000000##000000
##B17FFC1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#6298F9
Tritanopia (blue-blind)
#A296B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b17ffc;
/* rgb */ color: rgb(177, 127, 252);
/* oklch */ color: oklch(69.9% 0.181 300.2);
Tailwind
colors: {
  custom: {
    50: '#cba5fe',
    500: '#b17ffc',
    950: '#000000',
  },
}
SCSS
$custom: #b17ffc;
$custom-light: #cba5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b17ffc",
  "rgb": {
    "r": 177,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 264,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69908,
    "c": 0.18102,
    "h": 300.2
  },
  "luminance": 0.31554
}

Semantic roles & 50–950 ramp

primary
#B17FFC
secondary
#E9F7D4
accent
#E6008A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B17FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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