#B17BFA#B17BFA

#B17BFA is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.2% C 0.185 H 301.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B17BFA
RGBrgb(177, 123, 250)
HSLhsl(266, 93%, 73%)
HSVhsv(266, 51%, 98%)
CMYKcmyk(29.2%, 50.8%, 0%, 2%)
CIE-LABlab(62.01, 45.99, -55.98)
CIE-LCHlch(62.01, 72.44, 309.41°)
OKLaboklab(69.16% 0.0961 -0.1576)
OKLCHoklch(69.16% 0.185 301.4)
XYZxyz(42.4658, 30.4150, 94.0574)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17BFA #C4FA7B
analogous
#7B84FA #B17BFA #F17BFA
triadic
#B17BFA #FAB17B #7BFAB1
tetradic
#B17BFA #FA7B84 #C4FA7B #7BFAF1
square
#B17BFA #FA7B84 #C4FA7B #7BFAF1
split-complementary
#B17BFA #FAF17B #84FA7B
monochromatic
#6C09F1 #8E40F8 #B17BFA #D4B6FC #EEE2FE

Accessibility & contrast

On white

2.96
#B17BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#B17BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B17BFA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17BFA#FFFFFF#000000##000000
##B17BFA1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FE
Deuteranopia (green-blind)
#5F95F7
Tritanopia (blue-blind)
#A393AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b17bfa;
/* rgb */ color: rgb(177, 123, 250);
/* oklch */ color: oklch(69.2% 0.185 301.4);
Tailwind
colors: {
  custom: {
    50: '#cba2fc',
    500: '#b17bfa',
    950: '#000000',
  },
}
SCSS
$custom: #b17bfa;
$custom-light: #cba2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b17bfa",
  "rgb": {
    "r": 177,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 265.512,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69158,
    "c": 0.18463,
    "h": 301.4
  },
  "luminance": 0.30415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B17BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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