#B17BFC#B17BFC

#B17BFC is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.3% C 0.187 H 301.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#B17BFC
RGBrgb(177, 123, 252)
HSLhsl(265, 96%, 74%)
HSVhsv(265, 51%, 99%)
CMYKcmyk(29.8%, 51.2%, 0%, 1.2%)
CIE-LABlab(62.12, 46.47, -56.90)
CIE-LCHlch(62.12, 73.47, 309.23°)
OKLaboklab(69.27% 0.0963 -0.1604)
OKLCHoklch(69.27% 0.187 301)
XYZxyz(42.7810, 30.5411, 95.7178)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17BFC #C6FC7B
analogous
#7B85FC #B17BFC #F17BFC
triadic
#B17BFC #FCB17B #7BFCB1
tetradic
#B17BFC #FC7B85 #C6FC7B #7BFCF1
square
#B17BFC #FC7B85 #C6FC7B #7BFCF1
split-complementary
#B17BFC #FCF17B #85FC7B
monochromatic
#6B06F7 #8E3FFB #B17BFC #D4B7FD #EDE1FE

Accessibility & contrast

On white

2.95
#B17BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#B17BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B17BFC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17BFC#FFFFFF#000000##000000
##B17BFC1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#5D95F9
Tritanopia (blue-blind)
#A293B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b17bfc;
/* rgb */ color: rgb(177, 123, 252);
/* oklch */ color: oklch(69.3% 0.187 301.0);
Tailwind
colors: {
  custom: {
    50: '#cca2fe',
    500: '#b17bfc',
    950: '#000000',
  },
}
SCSS
$custom: #b17bfc;
$custom-light: #cca2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b17bfc",
  "rgb": {
    "r": 177,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 265.116,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69273,
    "c": 0.18703,
    "h": 301
  },
  "luminance": 0.30541
}

Semantic roles & 50–950 ramp

primary
#B17BFC
secondary
#E8F7D4
accent
#E60085
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B17BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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