#B167DB#B167DB

#B167DB is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.4% C 0.180 H 311.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B167DB
RGBrgb(177, 103, 219)
HSLhsl(278, 62%, 63%)
HSVhsv(278, 53%, 86%)
CMYKcmyk(19.2%, 53%, 0%, 14.1%)
CIE-LABlab(56.25, 49.55, -47.87)
CIE-LCHlch(56.25, 68.90, 315.99°)
OKLaboklab(64.36% 0.1198 -0.1339)
OKLCHoklch(64.36% 0.18 311.8)
XYZxyz(35.7656, 24.1629, 69.7839)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167DB #91DB67
analogous
#7767DB #B167DB #DB67CB
triadic
#B167DB #DBB167 #67DBB1
tetradic
#B167DB #DB7767 #91DB67 #67CBDB
square
#B167DB #DB7767 #91DB67 #67CBDB
split-complementary
#B167DB #CBDB67 #67DB77
monochromatic
#7526A1 #9836CF #B167DB #CA98E7 #E4CAF2

Accessibility & contrast

On white

3.60
#B167DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#B167DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167DB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167DB#FFFFFF#000000##000000
##B167DB1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#6088D8
Tritanopia (blue-blind)
#AC7A97
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b167db;
/* rgb */ color: rgb(177, 103, 219);
/* oklch */ color: oklch(64.4% 0.180 311.8);
Tailwind
colors: {
  custom: {
    50: '#cb95e7',
    500: '#b167db',
    950: '#000000',
  },
}
SCSS
$custom: #b167db;
$custom-light: #cb95e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b167db",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 219
  },
  "hsl": {
    "h": 278.276,
    "s": 61.702,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64363,
    "c": 0.1797,
    "h": 311.8
  },
  "luminance": 0.24162
}

Semantic roles & 50–950 ramp

primary
#B167DB
secondary
#C9E4BA
accent
#C91C5B
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B167DB

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

Preview Lab → · Contrast checker → · Palette generator →

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