#B17DFA#B17DFA

#B17DFA is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.5% C 0.182 H 301.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B17DFA
RGBrgb(177, 125, 250)
HSLhsl(265, 93%, 74%)
HSVhsv(265, 50%, 98%)
CMYKcmyk(29.2%, 50%, 0%, 2%)
CIE-LABlab(62.44, 44.90, -55.30)
CIE-LCHlch(62.44, 71.23, 309.08°)
OKLaboklab(69.47% 0.0935 -0.1557)
OKLCHoklch(69.47% 0.182 301)
XYZxyz(42.7164, 30.9163, 94.1409)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17DFA #C6FA7D
analogous
#7D87FA #B17DFA #EF7DFA
triadic
#B17DFA #FAB17D #7DFAB1
tetradic
#B17DFA #FA7D87 #C6FA7D #7DFAEF
square
#B17DFA #FA7D87 #C6FA7D #7DFAEF
split-complementary
#B17DFA #FAEF7D #87FA7D
monochromatic
#6B09F3 #8E42F8 #B17DFA #D4B8FC #EDE2FE

Accessibility & contrast

On white

2.92
#B17DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#B17DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B17DFA
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17DFA#FFFFFF#000000##000000
##B17DFA1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#6196F7
Tritanopia (blue-blind)
#A394B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b17dfa;
/* rgb */ color: rgb(177, 125, 250);
/* oklch */ color: oklch(69.5% 0.182 301.0);
Tailwind
colors: {
  custom: {
    50: '#cba4fc',
    500: '#b17dfa',
    950: '#000000',
  },
}
SCSS
$custom: #b17dfa;
$custom-light: #cba4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b17dfa",
  "rgb": {
    "r": 177,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 264.96,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69475,
    "c": 0.18161,
    "h": 301
  },
  "luminance": 0.30916
}

Semantic roles & 50–950 ramp

primary
#B17DFA
secondary
#E8F6D5
accent
#E60086
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B17DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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