#B17EF4#B17EF4

#B17EF4 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.3% C 0.173 H 302.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#B17EF4
RGBrgb(177, 126, 244)
HSLhsl(266, 84%, 73%)
HSVhsv(266, 48%, 96%)
CMYKcmyk(27.5%, 48.4%, 0%, 4.3%)
CIE-LABlab(62.34, 42.92, -52.15)
CIE-LCHlch(62.34, 67.54, 309.46°)
OKLaboklab(69.3% 0.0917 -0.1465)
OKLCHoklch(69.3% 0.173 302)
XYZxyz(41.9178, 30.8004, 89.3071)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17EF4 #C1F47E
analogous
#7E86F4 #B17EF4 #EC7EF4
triadic
#B17EF4 #F4B17E #7EF4B1
tetradic
#B17EF4 #F47E86 #C1F47E #7EF4EC
square
#B17EF4 #F47E86 #C1F47E #7EF4EC
split-complementary
#B17EF4 #F4EC7E #86F47E
monochromatic
#6E13E4 #8F46EF #B17EF4 #D3B6F9 #EEE3FD

Accessibility & contrast

On white

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

On black

7.16
#B17EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B17EF4
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17EF4#FFFFFF#000000##000000
##B17EF41.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A96F8
Deuteranopia (green-blind)
#6796F1
Tritanopia (blue-blind)
#A593AE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b17ef4;
/* rgb */ color: rgb(177, 126, 244);
/* oklch */ color: oklch(69.3% 0.173 302.0);
Tailwind
colors: {
  custom: {
    50: '#cba4f8',
    500: '#b17ef4',
    950: '#000000',
  },
}
SCSS
$custom: #b17ef4;
$custom-light: #cba4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b17ef4",
  "rgb": {
    "r": 177,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 265.932,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.693,
    "c": 0.17279,
    "h": 302
  },
  "luminance": 0.308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B17EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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