#B17FF7#B17FF7

#B17FF7 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.6% C 0.175 H 301.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#B17FF7
RGBrgb(177, 127, 247)
HSLhsl(265, 88%, 73%)
HSVhsv(265, 49%, 97%)
CMYKcmyk(28.3%, 48.6%, 0%, 3.1%)
CIE-LABlab(62.71, 43.09, -53.21)
CIE-LCHlch(62.71, 68.47, 309.00°)
OKLaboklab(69.63% 0.0907 -0.1496)
OKLCHoklch(69.63% 0.175 301.2)
XYZxyz(42.5055, 31.2411, 91.7685)
Luminance0.3124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17FF7 #C5F77F
analogous
#7F89F7 #B17FF7 #ED7FF7
triadic
#B17FF7 #F7B17F #7FF7B1
tetradic
#B17FF7 #F77F89 #C5F77F #7FF7ED
square
#B17FF7 #F77F89 #C5F77F #7FF7ED
split-complementary
#B17FF7 #F7ED7F #89F77F
monochromatic
#6B0FED #8E45F3 #B17FF7 #D4B9FB #EDE2FD

Accessibility & contrast

On white

2.90
#B17FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#B17FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B17FF7
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17FF7#FFFFFF#000000##000000
##B17FF71.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FB
Deuteranopia (green-blind)
#6697F4
Tritanopia (blue-blind)
#A495B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b17ff7;
/* rgb */ color: rgb(177, 127, 247);
/* oklch */ color: oklch(69.6% 0.175 301.2);
Tailwind
colors: {
  custom: {
    50: '#cba5fa',
    500: '#b17ff7',
    950: '#000000',
  },
}
SCSS
$custom: #b17ff7;
$custom-light: #cba5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b17ff7",
  "rgb": {
    "r": 177,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 265,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69628,
    "c": 0.17492,
    "h": 301.2
  },
  "luminance": 0.31241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B17FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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