#B17DF6#B17DF6

#B17DF6 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.3% C 0.177 H 301.8°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B17DF6
RGBrgb(177, 125, 246)
HSLhsl(266, 87%, 73%)
HSVhsv(266, 49%, 96%)
CMYKcmyk(28%, 49.2%, 0%, 3.5%)
CIE-LABlab(62.23, 43.94, -53.43)
CIE-LCHlch(62.23, 69.18, 309.44°)
OKLaboklab(69.25% 0.0932 -0.1502)
OKLCHoklch(69.25% 0.177 301.8)
XYZxyz(42.0959, 30.6681, 90.8727)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17DF6 #C2F67D
analogous
#7D86F6 #B17DF6 #ED7DF6
triadic
#B17DF6 #F6B17D #7DF6B1
tetradic
#B17DF6 #F67D86 #C2F67D #7DF6ED
square
#B17DF6 #F67D86 #C2F67D #7DF6ED
split-complementary
#B17DF6 #F6ED7D #86F67D
monochromatic
#6D10E9 #8F44F2 #B17DF6 #D3B6FA #EEE2FD

Accessibility & contrast

On white

2.94
#B17DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B17DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B17DF6
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17DF6#FFFFFF#000000##000000
##B17DF61.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FA
Deuteranopia (green-blind)
#6496F3
Tritanopia (blue-blind)
#A493AE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b17df6;
/* rgb */ color: rgb(177, 125, 246);
/* oklch */ color: oklch(69.3% 0.177 301.8);
Tailwind
colors: {
  custom: {
    50: '#cba4fa',
    500: '#b17df6',
    950: '#000000',
  },
}
SCSS
$custom: #b17df6;
$custom-light: #cba4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b17df6",
  "rgb": {
    "r": 177,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 265.785,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.6925,
    "c": 0.17676,
    "h": 301.8
  },
  "luminance": 0.30668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B17DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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