#B167EC#B167EC

#B167EC is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.3% C 0.198 H 307.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B167EC
RGBrgb(177, 103, 236)
HSLhsl(273, 78%, 66%)
HSVhsv(273, 56%, 93%)
CMYKcmyk(25%, 56.4%, 0%, 7.5%)
CIE-LABlab(57.18, 53.31, -55.93)
CIE-LCHlch(57.18, 77.26, 313.63°)
OKLaboklab(65.34% 0.1207 -0.1574)
OKLCHoklch(65.34% 0.198 307.5)
XYZxyz(38.1189, 25.1042, 82.1781)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B167EC #A2EC67
analogous
#6F67EC #B167EC #EC67E5
triadic
#B167EC #ECB167 #67ECB1
tetradic
#B167EC #EC6F67 #A2EC67 #67E5EC
square
#B167EC #EC6F67 #A2EC67 #67E5EC
split-complementary
#B167EC #E5EC67 #67EC6F
monochromatic
#7618C1 #9531E5 #B167EC #CD9DF3 #E9D4FA

Accessibility & contrast

On white

3.49
#B167EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B167EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B167EC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B167EC#FFFFFF#000000##000000
##B167EC1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786F0
Deuteranopia (green-blind)
#538AE9
Tritanopia (blue-blind)
#A880A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b167ec;
/* rgb */ color: rgb(177, 103, 236);
/* oklch */ color: oklch(65.3% 0.198 307.5);
Tailwind
colors: {
  custom: {
    50: '#cc95f3',
    500: '#b167ec',
    950: '#000000',
  },
}
SCSS
$custom: #b167ec;
$custom-light: #cc95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b167ec",
  "rgb": {
    "r": 177,
    "g": 103,
    "b": 236
  },
  "hsl": {
    "h": 273.383,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65344,
    "c": 0.19839,
    "h": 307.5
  },
  "luminance": 0.25104
}

Semantic roles & 50–950 ramp

primary
#B167EC
secondary
#D5EDC2
accent
#DA0B67
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B167EC

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

Preview Lab → · Contrast checker → · Palette generator →

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