#B167E4#B167E4

#B167E4 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.9% C 0.190 H 309.4°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B167E4
RGBrgb(177, 103, 228)
HSLhsl(276, 70%, 65%)
HSVhsv(276, 55%, 89%)
CMYKcmyk(22.4%, 54.8%, 0%, 10.6%)
CIE-LABlab(56.73, 51.52, -52.16)
CIE-LCHlch(56.73, 73.32, 314.65°)
OKLaboklab(64.87% 0.1204 -0.1464)
OKLCHoklch(64.87% 0.19 309.4)
XYZxyz(36.9826, 24.6497, 76.1934)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167E4 #9AE467
analogous
#7367E4 #B167E4 #E467D8
triadic
#B167E4 #E4B167 #67E4B1
tetradic
#B167E4 #E47367 #9AE467 #67D8E4
square
#B167E4 #E47367 #9AE467 #67D8E4
split-complementary
#B167E4 #D8E467 #67E473
monochromatic
#761FB1 #9633DB #B167E4 #CC9BED #E6CFF6

Accessibility & contrast

On white

3.54
#B167E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#B167E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167E4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167E4#FFFFFF#000000##000000
##B167E41.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4085E8
Deuteranopia (green-blind)
#5A89E1
Tritanopia (blue-blind)
#AA7D9C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b167e4;
/* rgb */ color: rgb(177, 103, 228);
/* oklch */ color: oklch(64.9% 0.190 309.4);
Tailwind
colors: {
  custom: {
    50: '#cb95ed',
    500: '#b167e4',
    950: '#000000',
  },
}
SCSS
$custom: #b167e4;
$custom-light: #cb95ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b167e4",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 228
  },
  "hsl": {
    "h": 275.52,
    "s": 69.832,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64874,
    "c": 0.18958,
    "h": 309.4
  },
  "luminance": 0.24649
}

Semantic roles & 50–950 ramp

primary
#B167E4
secondary
#CFE9BE
accent
#D21461
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B167E4

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

Preview Lab → · Contrast checker → · Palette generator →

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