#B17FF6#B17FF6

#B17FF6 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.6% C 0.174 H 301.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#B17FF6
RGBrgb(177, 127, 246)
HSLhsl(265, 87%, 73%)
HSVhsv(265, 48%, 96%)
CMYKcmyk(28%, 48.4%, 0%, 3.5%)
CIE-LABlab(62.66, 42.85, -52.74)
CIE-LCHlch(62.66, 67.95, 309.09°)
OKLaboklab(69.57% 0.0906 -0.1482)
OKLCHoklch(69.57% 0.174 301.4)
XYZxyz(42.3516, 31.1796, 90.9580)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17FF6 #C4F67F
analogous
#7F88F6 #B17FF6 #EC7FF6
triadic
#B17FF6 #F6B17F #7FF6B1
tetradic
#B17FF6 #F67F88 #C4F67F #7FF6EC
square
#B17FF6 #F67F88 #C4F67F #7FF6EC
split-complementary
#B17FF6 #F6EC7F #88F67F
monochromatic
#6C10EA #8E46F2 #B17FF6 #D4B8FA #EEE2FD

Accessibility & contrast

On white

2.90
#B17FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#B17FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B17FF6
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17FF6#FFFFFF#000000##000000
##B17FF61.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#6697F3
Tritanopia (blue-blind)
#A495AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b17ff6;
/* rgb */ color: rgb(177, 127, 246);
/* oklch */ color: oklch(69.6% 0.174 301.4);
Tailwind
colors: {
  custom: {
    50: '#cba5fa',
    500: '#b17ff6',
    950: '#000000',
  },
}
SCSS
$custom: #b17ff6;
$custom-light: #cba5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b17ff6",
  "rgb": {
    "r": 177,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 265.21,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69572,
    "c": 0.17369,
    "h": 301.4
  },
  "luminance": 0.3118
}

Semantic roles & 50–950 ramp

primary
#B17FF6
secondary
#E8F5D6
accent
#E30285
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B17FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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