#B167EB#B167EB

#B167EB is a light, vivid violet. Relative luminance 0.250; OKLCH L 65.3% C 0.197 H 307.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B167EB
RGBrgb(177, 103, 235)
HSLhsl(274, 77%, 66%)
HSVhsv(274, 56%, 92%)
CMYKcmyk(24.7%, 56.2%, 0%, 7.8%)
CIE-LABlab(57.12, 53.08, -55.46)
CIE-LCHlch(57.12, 76.77, 313.75°)
OKLaboklab(65.28% 0.1207 -0.1561)
OKLCHoklch(65.28% 0.197 307.7)
XYZxyz(37.9741, 25.0462, 81.4151)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167EB #A1EB67
analogous
#6F67EB #B167EB #EB67E3
triadic
#B167EB #EBB167 #67EBB1
tetradic
#B167EB #EB6F67 #A1EB67 #67E3EB
square
#B167EB #EB6F67 #A1EB67 #67E3EB
split-complementary
#B167EB #E3EB67 #67EB6F
monochromatic
#7619BF #9531E4 #B167EB #CD9DF2 #E9D3F9

Accessibility & contrast

On white

3.49
#B167EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#B167EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167EB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167EB#FFFFFF#000000##000000
##B167EB1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#548AE8
Tritanopia (blue-blind)
#A8809F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b167eb;
/* rgb */ color: rgb(177, 103, 235);
/* oklch */ color: oklch(65.3% 0.197 307.7);
Tailwind
colors: {
  custom: {
    50: '#cc95f2',
    500: '#b167eb',
    950: '#000000',
  },
}
SCSS
$custom: #b167eb;
$custom-light: #cc95f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b167eb",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 235
  },
  "hsl": {
    "h": 273.636,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65284,
    "c": 0.19729,
    "h": 307.7
  },
  "luminance": 0.25046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B167EB

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

Preview Lab → · Contrast checker → · Palette generator →

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