#B17AEF#B17AEF

#B17AEF is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.4% C 0.173 H 303.9°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#B17AEF
RGBrgb(177, 122, 239)
HSLhsl(268, 79%, 71%)
HSVhsv(268, 49%, 94%)
CMYKcmyk(25.9%, 49%, 0%, 6.3%)
CIE-LABlab(61.22, 43.93, -51.16)
CIE-LCHlch(61.22, 67.43, 310.65°)
OKLaboklab(68.38% 0.0964 -0.1436)
OKLCHoklch(68.38% 0.173 303.9)
XYZxyz(40.6676, 29.4983, 85.1959)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17AEF #B8EF7A
analogous
#7A7DEF #B17AEF #EB7AEF
triadic
#B17AEF #EFB17A #7AEFB1
tetradic
#B17AEF #EF7A7D #B8EF7A #7AEFEB
square
#B17AEF #EF7A7D #B8EF7A #7AEFEB
split-complementary
#B17AEF #EFEB7A #7DEF7A
monochromatic
#721AD5 #9143E8 #B17AEF #D1B1F6 #EFE4FC

Accessibility & contrast

On white

3.04
#B17AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#B17AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17AEF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17AEF#FFFFFF#000000##000000
##B17AEF1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F3
Deuteranopia (green-blind)
#6694EC
Tritanopia (blue-blind)
#A68FA9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b17aef;
/* rgb */ color: rgb(177, 122, 239);
/* oklch */ color: oklch(68.4% 0.173 303.9);
Tailwind
colors: {
  custom: {
    50: '#cba2f5',
    500: '#b17aef',
    950: '#000000',
  },
}
SCSS
$custom: #b17aef;
$custom-light: #cba2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b17aef",
  "rgb": {
    "r": 177,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 268.205,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68382,
    "c": 0.17296,
    "h": 303.9
  },
  "luminance": 0.29498
}

Semantic roles & 50–950 ramp

primary
#B17AEF
secondary
#E3F2D3
accent
#DB0B79
background
#FCFAFF
surface
#F9F3FE
border
#D2CDD6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B17AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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