#B17CF6#B17CF6

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

Color values

HEX#B17CF6
RGBrgb(177, 124, 246)
HSLhsl(266, 87%, 73%)
HSVhsv(266, 50%, 96%)
CMYKcmyk(28%, 49.6%, 0%, 3.5%)
CIE-LABlab(62.01, 44.49, -53.77)
CIE-LCHlch(62.01, 69.79, 309.60°)
OKLaboklab(69.09% 0.0945 -0.1512)
OKLCHoklch(69.09% 0.178 302)
XYZxyz(41.9699, 30.4162, 90.8307)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17CF6 #C1F67C
analogous
#7C84F6 #B17CF6 #EE7CF6
triadic
#B17CF6 #F6B17C #7CF6B1
tetradic
#B17CF6 #F67C84 #C1F67C #7CF6EE
square
#B17CF6 #F67C84 #C1F67C #7CF6EE
split-complementary
#B17CF6 #F6EE7C #84F67C
monochromatic
#6E10E8 #8F43F2 #B17CF6 #D3B5FA #EEE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B17CF6#FFFFFF#000000##000000
##B17CF61.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)
#5595FA
Deuteranopia (green-blind)
#6395F3
Tritanopia (blue-blind)
#A492AE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b17cf6;
/* rgb */ color: rgb(177, 124, 246);
/* oklch */ color: oklch(69.1% 0.178 302.0);
Tailwind
colors: {
  custom: {
    50: '#cba3fa',
    500: '#b17cf6',
    950: '#000000',
  },
}
SCSS
$custom: #b17cf6;
$custom-light: #cba3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b17cf6",
  "rgb": {
    "r": 177,
    "g": 124,
    "b": 246
  },
  "hsl": {
    "h": 266.066,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6909,
    "c": 0.1783,
    "h": 302
  },
  "luminance": 0.30416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B17CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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