#B162DA#B162DA

#B162DA is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.6% C 0.186 H 312.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B162DA
RGBrgb(177, 98, 218)
HSLhsl(280, 62%, 62%)
HSVhsv(280, 55%, 85%)
CMYKcmyk(18.8%, 55%, 0%, 14.5%)
CIE-LABlab(55.22, 51.91, -48.94)
CIE-LCHlch(55.22, 71.34, 316.69°)
OKLaboklab(63.59% 0.1263 -0.137)
OKLCHoklch(63.59% 0.186 312.7)
XYZxyz(35.1518, 23.1453, 68.9318)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B162DA #8BDA62
analogous
#7562DA #B162DA #DA62C7
triadic
#B162DA #DAB162 #62DAB1
tetradic
#B162DA #DA7562 #8BDA62 #62C7DA
square
#B162DA #DA7562 #8BDA62 #62C7DA
split-complementary
#B162DA #C7DA62 #62DA75
monochromatic
#74259D #9831CE #B162DA #CA94E6 #E2C5F1

Accessibility & contrast

On white

3.73
#B162DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#B162DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B162DA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B162DA#FFFFFF#000000##000000
##B162DA1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4080DE
Deuteranopia (green-blind)
#5C86D7
Tritanopia (blue-blind)
#AD7695
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b162da;
/* rgb */ color: rgb(177, 98, 218);
/* oklch */ color: oklch(63.6% 0.186 312.7);
Tailwind
colors: {
  custom: {
    50: '#cb92e6',
    500: '#b162da',
    950: '#000000',
  },
}
SCSS
$custom: #b162da;
$custom-light: #cb92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b162da",
  "rgb": {
    "r": 177,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 279.5,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63589,
    "c": 0.18636,
    "h": 312.7
  },
  "luminance": 0.23144
}

Semantic roles & 50–950 ramp

primary
#B162DA
secondary
#C5E2B6
accent
#CA1C57
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B162DA

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

Preview Lab → · Contrast checker → · Palette generator →

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