#B167EA#B167EA

#B167EA is a light, vivid violet. Relative luminance 0.250; OKLCH L 65.2% C 0.196 H 307.9°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B167EA
RGBrgb(177, 103, 234)
HSLhsl(274, 76%, 66%)
HSVhsv(274, 56%, 92%)
CMYKcmyk(24.4%, 56%, 0%, 8.2%)
CIE-LABlab(57.06, 52.86, -54.99)
CIE-LCHlch(57.06, 76.28, 313.87°)
OKLaboklab(65.22% 0.1206 -0.1547)
OKLCHoklch(65.22% 0.196 307.9)
XYZxyz(37.8300, 24.9886, 80.6563)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167EA #A0EA67
analogous
#6F67EA #B167EA #EA67E2
triadic
#B167EA #EAB167 #67EAB1
tetradic
#B167EA #EA6F67 #A0EA67 #67E2EA
square
#B167EA #EA6F67 #A0EA67 #67E2EA
split-complementary
#B167EA #E2EA67 #67EA6F
monochromatic
#761ABD #9531E3 #B167EA #CD9DF1 #E8D3F9

Accessibility & contrast

On white

3.50
#B167EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#B167EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167EA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167EA#FFFFFF#000000##000000
##B167EA1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EE
Deuteranopia (green-blind)
#558AE7
Tritanopia (blue-blind)
#A97F9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b167ea;
/* rgb */ color: rgb(177, 103, 234);
/* oklch */ color: oklch(65.2% 0.196 307.9);
Tailwind
colors: {
  custom: {
    50: '#cb95f1',
    500: '#b167ea',
    950: '#000000',
  },
}
SCSS
$custom: #b167ea;
$custom-light: #cb95f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b167ea",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 234
  },
  "hsl": {
    "h": 273.893,
    "s": 75.723,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65225,
    "c": 0.19619,
    "h": 307.9
  },
  "luminance": 0.24988
}

Semantic roles & 50–950 ramp

primary
#B167EA
secondary
#D4ECC1
accent
#D80E66
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B167EA

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

Preview Lab → · Contrast checker → · Palette generator →

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