#B167DD#B167DD

#B167DD is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.5% C 0.182 H 311.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B167DD
RGBrgb(177, 103, 221)
HSLhsl(278, 63%, 64%)
HSVhsv(278, 53%, 87%)
CMYKcmyk(19.9%, 53.4%, 0%, 13.3%)
CIE-LABlab(56.36, 49.99, -48.83)
CIE-LCHlch(56.36, 69.88, 315.67°)
OKLaboklab(64.48% 0.12 -0.1367)
OKLCHoklch(64.48% 0.182 311.3)
XYZxyz(36.0305, 24.2688, 71.1789)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167DD #93DD67
analogous
#7667DD #B167DD #DD67CE
triadic
#B167DD #DDB167 #67DDB1
tetradic
#B167DD #DD7667 #93DD67 #67CEDD
square
#B167DD #DD7667 #93DD67 #67CEDD
split-complementary
#B167DD #CEDD67 #67DD76
monochromatic
#7525A5 #9735D2 #B167DD #CB99E8 #E4CBF3

Accessibility & contrast

On white

3.59
#B167DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#B167DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167DD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167DD#FFFFFF#000000##000000
##B167DD1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E1
Deuteranopia (green-blind)
#5F89DA
Tritanopia (blue-blind)
#AC7B98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b167dd;
/* rgb */ color: rgb(177, 103, 221);
/* oklch */ color: oklch(64.5% 0.182 311.3);
Tailwind
colors: {
  custom: {
    50: '#cb95e8',
    500: '#b167dd',
    950: '#000000',
  },
}
SCSS
$custom: #b167dd;
$custom-light: #cb95e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b167dd",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 221
  },
  "hsl": {
    "h": 277.627,
    "s": 63.441,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64475,
    "c": 0.18189,
    "h": 311.3
  },
  "luminance": 0.24268
}

Semantic roles & 50–950 ramp

primary
#B167DD
secondary
#CBE5BB
accent
#CB1A5C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B167DD

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

Preview Lab → · Contrast checker → · Palette generator →

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