#B167DF#B167DF

#B167DF is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.6% C 0.184 H 310.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B167DF
RGBrgb(177, 103, 223)
HSLhsl(277, 65%, 64%)
HSVhsv(277, 54%, 87%)
CMYKcmyk(20.6%, 53.8%, 0%, 12.5%)
CIE-LABlab(56.46, 50.42, -49.78)
CIE-LCHlch(56.46, 70.86, 315.37°)
OKLaboklab(64.59% 0.1201 -0.1395)
OKLCHoklch(64.59% 0.184 310.7)
XYZxyz(36.2985, 24.3760, 72.5906)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167DF #95DF67
analogous
#7567DF #B167DF #DF67D1
triadic
#B167DF #DFB167 #67DFB1
tetradic
#B167DF #DF7567 #95DF67 #67D1DF
square
#B167DF #DF7567 #95DF67 #67D1DF
split-complementary
#B167DF #D1DF67 #67DF75
monochromatic
#7523A8 #9734D4 #B167DF #CB9AEA #E5CCF4

Accessibility & contrast

On white

3.57
#B167DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#B167DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167DF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167DF#FFFFFF#000000##000000
##B167DF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#5D89DC
Tritanopia (blue-blind)
#AB7C99
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b167df;
/* rgb */ color: rgb(177, 103, 223);
/* oklch */ color: oklch(64.6% 0.184 310.7);
Tailwind
colors: {
  custom: {
    50: '#cb95e9',
    500: '#b167df',
    950: '#000000',
  },
}
SCSS
$custom: #b167df;
$custom-light: #cb95e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b167df",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 223
  },
  "hsl": {
    "h": 277,
    "s": 65.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64588,
    "c": 0.18408,
    "h": 310.7
  },
  "luminance": 0.24375
}

Semantic roles & 50–950 ramp

primary
#B167DF
secondary
#CCE6BC
accent
#CD185E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B167DF

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

Preview Lab → · Contrast checker → · Palette generator →

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