#B167F7#B167F7

#B167F7 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.0% C 0.211 H 305.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B167F7
RGBrgb(177, 103, 247)
HSLhsl(271, 90%, 69%)
HSVhsv(271, 58%, 97%)
CMYKcmyk(28.3%, 58.3%, 0%, 3.1%)
CIE-LABlab(57.81, 55.81, -61.03)
CIE-LCHlch(57.81, 82.70, 312.44°)
OKLaboklab(66.01% 0.1208 -0.1724)
OKLCHoklch(66.01% 0.211 305)
XYZxyz(39.7666, 25.7632, 90.8555)
Luminance0.2576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167F7 #ADF767
analogous
#6967F7 #B167F7 #F767F5
triadic
#B167F7 #F7B167 #67F7B1
tetradic
#B167F7 #F76967 #ADF767 #67F5F7
square
#B167F7 #F76967 #ADF767 #67F5F7
split-complementary
#B167F7 #F5F767 #67F769
monochromatic
#750BD8 #932DF4 #B167F7 #CFA1FA #EDDBFD

Accessibility & contrast

On white

3.41
#B167F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#B167F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167F7
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167F7#FFFFFF#000000##000000
##B167F71.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2689FC
Deuteranopia (green-blind)
#498BF4
Tritanopia (blue-blind)
#A584A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b167f7;
/* rgb */ color: rgb(177, 103, 247);
/* oklch */ color: oklch(66.0% 0.211 305.0);
Tailwind
colors: {
  custom: {
    50: '#cc95fb',
    500: '#b167f7',
    950: '#000000',
  },
}
SCSS
$custom: #b167f7;
$custom-light: #cc95fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b167f7",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 247
  },
  "hsl": {
    "h": 270.833,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66012,
    "c": 0.21051,
    "h": 305
  },
  "luminance": 0.25763
}

Semantic roles & 50–950 ramp

primary
#B167F7
secondary
#DCF2C7
accent
#E60070
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B167F7

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

Preview Lab → · Contrast checker → · Palette generator →

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