#B162CD#B162CD

#B162CD is a light, vivid purple. Relative luminance 0.225; OKLCH L 62.9% C 0.173 H 316.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B162CD
RGBrgb(177, 98, 205)
HSLhsl(284, 52%, 59%)
HSVhsv(284, 52%, 80%)
CMYKcmyk(13.7%, 52.2%, 0%, 19.6%)
CIE-LABlab(54.54, 49.18, -42.63)
CIE-LCHlch(54.54, 65.08, 319.08°)
OKLaboklab(62.87% 0.1253 -0.1186)
OKLCHoklch(62.87% 0.173 316.6)
XYZxyz(33.5170, 22.4913, 60.3215)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B162CD #7ECD62
analogous
#7C62CD #B162CD #CD62B4
triadic
#B162CD #CDB162 #62CDB1
tetradic
#B162CD #CD7C62 #7ECD62 #62B4CD
square
#B162CD #CD7C62 #7ECD62 #62B4CD
split-complementary
#B162CD #B4CD62 #62CD7C
monochromatic
#712C89 #973AB7 #B162CD #C890DC #DFBFEB

Accessibility & contrast

On white

3.82
#B162CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#B162CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B162CD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B162CD#FFFFFF#000000##000000
##B162CD1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED1
Deuteranopia (green-blind)
#6485CA
Tritanopia (blue-blind)
#B0728E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b162cd;
/* rgb */ color: rgb(177, 98, 205);
/* oklch */ color: oklch(62.9% 0.173 316.6);
Tailwind
colors: {
  custom: {
    50: '#ca91dd',
    500: '#b162cd',
    950: '#000000',
  },
}
SCSS
$custom: #b162cd;
$custom-light: #ca91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b162cd",
  "rgb": {
    "r": 177,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 284.299,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62871,
    "c": 0.17257,
    "h": 316.6
  },
  "luminance": 0.2249
}

Semantic roles & 50–950 ramp

primary
#B162CD
secondary
#BBDAB1
accent
#DB4D72
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B162CD

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

Preview Lab → · Contrast checker → · Palette generator →

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