#B167E9#B167E9

#B167E9 is a light, vivid violet. Relative luminance 0.249; OKLCH L 65.2% C 0.195 H 308.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B167E9
RGBrgb(177, 103, 233)
HSLhsl(274, 75%, 66%)
HSVhsv(274, 56%, 91%)
CMYKcmyk(24%, 55.8%, 0%, 8.6%)
CIE-LABlab(57.01, 52.64, -54.52)
CIE-LCHlch(57.01, 75.78, 313.99°)
OKLaboklab(65.17% 0.1206 -0.1533)
OKLCHoklch(65.17% 0.195 308.2)
XYZxyz(37.6868, 24.9313, 79.9019)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167E9 #9FE967
analogous
#7067E9 #B167E9 #E967E0
triadic
#B167E9 #E9B167 #67E9B1
tetradic
#B167E9 #E97067 #9FE967 #67E0E9
square
#B167E9 #E97067 #9FE967 #67E0E9
split-complementary
#B167E9 #E0E967 #67E970
monochromatic
#761BBB #9632E1 #B167E9 #CC9CF1 #E8D2F8

Accessibility & contrast

On white

3.51
#B167E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#B167E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167E9
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167E9#FFFFFF#000000##000000
##B167E91.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A86ED
Deuteranopia (green-blind)
#568AE6
Tritanopia (blue-blind)
#A97F9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b167e9;
/* rgb */ color: rgb(177, 103, 233);
/* oklch */ color: oklch(65.2% 0.195 308.2);
Tailwind
colors: {
  custom: {
    50: '#cb95f1',
    500: '#b167e9',
    950: '#000000',
  },
}
SCSS
$custom: #b167e9;
$custom-light: #cb95f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b167e9",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 233
  },
  "hsl": {
    "h": 274.154,
    "s": 74.713,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65166,
    "c": 0.19509,
    "h": 308.2
  },
  "luminance": 0.24931
}

Semantic roles & 50–950 ramp

primary
#B167E9
secondary
#D3EBC0
accent
#D70F65
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B167E9

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

Preview Lab → · Contrast checker → · Palette generator →

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