#B162CF#B162CF

#B162CF is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.0% C 0.175 H 315.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B162CF
RGBrgb(177, 98, 207)
HSLhsl(283, 53%, 60%)
HSVhsv(283, 53%, 81%)
CMYKcmyk(14.5%, 52.7%, 0%, 18.8%)
CIE-LABlab(54.65, 49.59, -43.61)
CIE-LCHlch(54.65, 66.04, 318.67°)
OKLaboklab(62.98% 0.1255 -0.1215)
OKLCHoklch(62.98% 0.175 315.9)
XYZxyz(33.7599, 22.5885, 61.6010)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B162CF #80CF62
analogous
#7A62CF #B162CF #CF62B7
triadic
#B162CF #CFB162 #62CFB1
tetradic
#B162CF #CF7A62 #80CF62 #62B7CF
square
#B162CF #CF7A62 #80CF62 #62B7CF
split-complementary
#B162CF #B7CF62 #62CF7A
monochromatic
#712B8C #9739BB #B162CF #C891DD #E0C0EC

Accessibility & contrast

On white

3.81
#B162CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B162CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B162CF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B162CF#FFFFFF#000000##000000
##B162CF1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED3
Deuteranopia (green-blind)
#6385CC
Tritanopia (blue-blind)
#AF738F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b162cf;
/* rgb */ color: rgb(177, 98, 207);
/* oklch */ color: oklch(63.0% 0.175 315.9);
Tailwind
colors: {
  custom: {
    50: '#cb92de',
    500: '#b162cf',
    950: '#000000',
  },
}
SCSS
$custom: #b162cf;
$custom-light: #cb92de;
$custom-dark: #000000;
JSON
{
  "hex": "#b162cf",
  "rgb": {
    "r": 177,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 283.486,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62979,
    "c": 0.17468,
    "h": 315.9
  },
  "luminance": 0.22587
}

Semantic roles & 50–950 ramp

primary
#B162CF
secondary
#BDDBB1
accent
#DD4B73
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B162CF

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

Preview Lab → · Contrast checker → · Palette generator →

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