#B167EF#B167EF

#B167EF is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.5% C 0.202 H 306.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B167EF
RGBrgb(177, 103, 239)
HSLhsl(273, 81%, 67%)
HSVhsv(273, 57%, 94%)
CMYKcmyk(25.9%, 56.9%, 0%, 6.3%)
CIE-LABlab(57.35, 53.99, -57.33)
CIE-LCHlch(57.35, 78.75, 313.28°)
OKLaboklab(65.52% 0.1208 -0.1615)
OKLCHoklch(65.52% 0.202 306.8)
XYZxyz(38.5585, 25.2800, 84.4929)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167EF #A5EF67
analogous
#6D67EF #B167EF #EF67E9
triadic
#B167EF #EFB167 #67EFB1
tetradic
#B167EF #EF6D67 #A5EF67 #67E9EF
square
#B167EF #EF6D67 #A5EF67 #67E9EF
split-complementary
#B167EF #E9EF67 #67EF6D
monochromatic
#7615C7 #9530E9 #B167EF #CD9EF5 #EAD6FB

Accessibility & contrast

On white

3.47
#B167EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#B167EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167EF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167EF#FFFFFF#000000##000000
##B167EF1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3387F3
Deuteranopia (green-blind)
#518AEC
Tritanopia (blue-blind)
#A781A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b167ef;
/* rgb */ color: rgb(177, 103, 239);
/* oklch */ color: oklch(65.5% 0.202 306.8);
Tailwind
colors: {
  custom: {
    50: '#cc95f5',
    500: '#b167ef',
    950: '#000000',
  },
}
SCSS
$custom: #b167ef;
$custom-light: #cc95f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b167ef",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 239
  },
  "hsl": {
    "h": 272.647,
    "s": 80.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65523,
    "c": 0.2017,
    "h": 306.8
  },
  "luminance": 0.2528
}

Semantic roles & 50–950 ramp

primary
#B167EF
secondary
#D7EEC3
accent
#DD0869
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #B167EF

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

Preview Lab → · Contrast checker → · Palette generator →

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