#B17CFE#B17CFE

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

Color values

HEX#B17CFE
RGBrgb(177, 124, 254)
HSLhsl(264, 98%, 74%)
HSVhsv(264, 51%, 100%)
CMYKcmyk(30.3%, 51.2%, 0%, 0.4%)
CIE-LABlab(62.44, 46.41, -57.49)
CIE-LCHlch(62.44, 73.89, 308.91°)
OKLaboklab(69.55% 0.0951 -0.1621)
OKLCHoklch(69.55% 0.188 300.4)
XYZxyz(43.2243, 30.9179, 97.4373)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17CFE #C9FE7C
analogous
#7C88FE #B17CFE #F27CFE
triadic
#B17CFE #FEB17C #7CFEB1
tetradic
#B17CFE #FE7C88 #C9FE7C #7CFEF2
square
#B17CFE #FE7C88 #C9FE7C #7CFEF2
split-complementary
#B17CFE #FEF27C #88FE7C
monochromatic
#6903FD #8D3FFE #B17CFE #D5B9FE #EDE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B17CFE#FFFFFF#000000##000000
##B17CFE1.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)
#4E96FF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#A295B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b17cfe;
/* rgb */ color: rgb(177, 124, 254);
/* oklch */ color: oklch(69.5% 0.188 300.4);
Tailwind
colors: {
  custom: {
    50: '#cca3ff',
    500: '#b17cfe',
    950: '#000000',
  },
}
SCSS
$custom: #b17cfe;
$custom-light: #cca3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b17cfe",
  "rgb": {
    "r": 177,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 264.462,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69545,
    "c": 0.18794,
    "h": 300.4
  },
  "luminance": 0.30918
}

Semantic roles & 50–950 ramp

primary
#B17CFE
secondary
#E9F7D4
accent
#E60088
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B17CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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