#B17CF8#B17CF8

#B17CF8 is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.2% C 0.181 H 301.6°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#B17CF8
RGBrgb(177, 124, 248)
HSLhsl(266, 90%, 73%)
HSVhsv(266, 50%, 97%)
CMYKcmyk(28.6%, 50%, 0%, 2.7%)
CIE-LABlab(62.12, 44.97, -54.70)
CIE-LCHlch(62.12, 70.81, 309.42°)
OKLaboklab(69.2% 0.0947 -0.1539)
OKLCHoklch(69.2% 0.181 301.6)
XYZxyz(42.2785, 30.5396, 92.4561)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17CF8 #C3F87C
analogous
#7C85F8 #B17CF8 #EF7CF8
triadic
#B17CF8 #F8B17C #7CF8B1
tetradic
#B17CF8 #F87C85 #C3F87C #7CF8EF
square
#B17CF8 #F87C85 #C3F87C #7CF8EF
split-complementary
#B17CF8 #F8EF7C #85F87C
monochromatic
#6D0DED #8E42F5 #B17CF8 #D4B6FB #EEE2FD

Accessibility & contrast

On white

2.95
#B17CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#B17CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B17CF8
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17CF8#FFFFFF#000000##000000
##B17CF81.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FC
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#A393AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b17cf8;
/* rgb */ color: rgb(177, 124, 248);
/* oklch */ color: oklch(69.2% 0.181 301.6);
Tailwind
colors: {
  custom: {
    50: '#cba3fb',
    500: '#b17cf8',
    950: '#000000',
  },
}
SCSS
$custom: #b17cf8;
$custom-light: #cba3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b17cf8",
  "rgb": {
    "r": 177,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 265.645,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69203,
    "c": 0.18071,
    "h": 301.6
  },
  "luminance": 0.3054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B17CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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