#B162FD#B162FD

#B162FD is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.7% C 0.224 H 304.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B162FD
RGBrgb(177, 98, 253)
HSLhsl(271, 97%, 69%)
HSVhsv(271, 61%, 99%)
CMYKcmyk(30%, 61.3%, 0%, 0.8%)
CIE-LABlab(57.24, 59.68, -65.26)
CIE-LCHlch(57.24, 88.44, 312.44°)
OKLaboklab(65.72% 0.1265 -0.1848)
OKLCHoklch(65.72% 0.224 304.4)
XYZxyz(40.2248, 25.1745, 95.6495)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B162FD #AEFD62
analogous
#6462FD #B162FD #FD62FB
triadic
#B162FD #FDB162 #62FDB1
tetradic
#B162FD #FD6462 #AEFD62 #62FBFD
square
#B162FD #FD6462 #AEFD62 #62FBFD
split-complementary
#B162FD #FBFD62 #62FD64
monochromatic
#7403E2 #9326FC #B162FD #CF9EFE #EDDBFF

Accessibility & contrast

On white

3.48
#B162FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#B162FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B162FD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B162FD#FFFFFF#000000##000000
##B162FD1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#3A89FA
Tritanopia (blue-blind)
#A382A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b162fd;
/* rgb */ color: rgb(177, 98, 253);
/* oklch */ color: oklch(65.7% 0.224 304.4);
Tailwind
colors: {
  custom: {
    50: '#cd92ff',
    500: '#b162fd',
    950: '#000000',
  },
}
SCSS
$custom: #b162fd;
$custom-light: #cd92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b162fd",
  "rgb": {
    "r": 177,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 270.581,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65716,
    "c": 0.22394,
    "h": 304.4
  },
  "luminance": 0.25174
}

Semantic roles & 50–950 ramp

primary
#B162FD
secondary
#DDF4C6
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B162FD

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

Preview Lab → · Contrast checker → · Palette generator →

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