#B167FC#B167FC

#B167FC is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.3% C 0.216 H 304.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B167FC
RGBrgb(177, 103, 252)
HSLhsl(270, 96%, 70%)
HSVhsv(270, 59%, 99%)
CMYKcmyk(29.8%, 59.1%, 0%, 1.2%)
CIE-LABlab(58.11, 56.96, -63.32)
CIE-LCHlch(58.11, 85.17, 311.98°)
OKLaboklab(66.32% 0.1207 -0.1791)
OKLCHoklch(66.32% 0.216 304)
XYZxyz(40.5485, 26.0760, 94.9736)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167FC #B2FC67
analogous
#6767FC #B167FC #FC67FC
triadic
#B167FC #FCB167 #67FCB1
tetradic
#B167FC #FC6767 #B2FC67 #67FCFC
square
#B167FC #FC6767 #B2FC67 #67FCFC
split-complementary
#B167FC #FCFC67 #67FC67
monochromatic
#7405E4 #922BFB #B167FC #D0A3FD #EFDFFE

Accessibility & contrast

On white

3.38
#B167FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#B167FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167FC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167FC#FFFFFF#000000##000000
##B167FC1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A8AFF
Deuteranopia (green-blind)
#438CF9
Tritanopia (blue-blind)
#A385A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b167fc;
/* rgb */ color: rgb(177, 103, 252);
/* oklch */ color: oklch(66.3% 0.216 304.0);
Tailwind
colors: {
  custom: {
    50: '#cc96fe',
    500: '#b167fc',
    950: '#000000',
  },
}
SCSS
$custom: #b167fc;
$custom-light: #cc96fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b167fc",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 252
  },
  "hsl": {
    "h": 269.799,
    "s": 96.129,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66324,
    "c": 0.21601,
    "h": 304
  },
  "luminance": 0.26076
}

Semantic roles & 50–950 ramp

primary
#B167FC
secondary
#E0F5CA
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B167FC

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

Preview Lab → · Contrast checker → · Palette generator →

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