#B17BF9#B17BF9

#B17BF9 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.1% C 0.183 H 301.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#B17BF9
RGBrgb(177, 123, 249)
HSLhsl(266, 91%, 73%)
HSVhsv(266, 51%, 98%)
CMYKcmyk(28.9%, 50.6%, 0%, 2.4%)
CIE-LABlab(61.96, 45.75, -55.51)
CIE-LCHlch(61.96, 71.93, 309.49°)
OKLaboklab(69.1% 0.096 -0.1563)
OKLCHoklch(69.1% 0.183 301.6)
XYZxyz(42.3094, 30.3525, 93.2338)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17BF9 #C3F97B
analogous
#7B84F9 #B17BF9 #F07BF9
triadic
#B17BF9 #F9B17B #7BF9B1
tetradic
#B17BF9 #F97B84 #C3F97B #7BF9F0
square
#B17BF9 #F97B84 #C3F97B #7BF9F0
split-complementary
#B17BF9 #F9F07B #84F97B
monochromatic
#6D0BEF #8E40F6 #B17BF9 #D4B6FC #EEE2FE

Accessibility & contrast

On white

2.97
#B17BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#B17BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B17BF9
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17BF9#FFFFFF#000000##000000
##B17BF91.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FD
Deuteranopia (green-blind)
#6095F6
Tritanopia (blue-blind)
#A393AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b17bf9;
/* rgb */ color: rgb(177, 123, 249);
/* oklch */ color: oklch(69.1% 0.183 301.6);
Tailwind
colors: {
  custom: {
    50: '#cba2fc',
    500: '#b17bf9',
    950: '#000000',
  },
}
SCSS
$custom: #b17bf9;
$custom-light: #cba2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b17bf9",
  "rgb": {
    "r": 177,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 265.714,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69101,
    "c": 0.18343,
    "h": 301.6
  },
  "luminance": 0.30353
}

Semantic roles & 50–950 ramp

primary
#B17BF9
secondary
#E8F6D5
accent
#E60083
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B17BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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