#B17CFD#B17CFD

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

Color values

HEX#B17CFD
RGBrgb(177, 124, 253)
HSLhsl(265, 97%, 74%)
HSVhsv(265, 51%, 99%)
CMYKcmyk(30%, 51%, 0%, 0.8%)
CIE-LABlab(62.38, 46.17, -57.03)
CIE-LCHlch(62.38, 73.37, 308.99°)
OKLaboklab(69.49% 0.0951 -0.1607)
OKLCHoklch(69.49% 0.187 300.6)
XYZxyz(43.0646, 30.8540, 96.5961)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17CFD #C8FD7C
analogous
#7C88FD #B17CFD #F17CFD
triadic
#B17CFD #FDB17C #7CFDB1
tetradic
#B17CFD #FD7C88 #C8FD7C #7CFDF1
square
#B17CFD #FD7C88 #C8FD7C #7CFDF1
split-complementary
#B17CFD #FDF17C #88FD7C
monochromatic
#6904FB #8D40FC #B17CFD #D5B8FE #EDE1FF

Accessibility & contrast

On white

2.93
#B17CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B17CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B17CFD
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17CFD#FFFFFF#000000##000000
##B17CFD1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#5E96FA
Tritanopia (blue-blind)
#A294B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b17cfd;
/* rgb */ color: rgb(177, 124, 253);
/* oklch */ color: oklch(69.5% 0.187 300.6);
Tailwind
colors: {
  custom: {
    50: '#cca3ff',
    500: '#b17cfd',
    950: '#000000',
  },
}
SCSS
$custom: #b17cfd;
$custom-light: #cca3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b17cfd",
  "rgb": {
    "r": 177,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 264.651,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69488,
    "c": 0.18674,
    "h": 300.6
  },
  "luminance": 0.30854
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B17CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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