#B162F6#B162F6

#B162F6 is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.3% C 0.216 H 305.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B162F6
RGBrgb(177, 98, 246)
HSLhsl(272, 89%, 67%)
HSVhsv(272, 60%, 96%)
CMYKcmyk(28%, 60.2%, 0%, 3.5%)
CIE-LABlab(56.82, 58.09, -62.07)
CIE-LCHlch(56.82, 85.01, 313.10°)
OKLaboklab(65.27% 0.1267 -0.1754)
OKLCHoklch(65.27% 0.216 305.8)
XYZxyz(39.1301, 24.7366, 89.8841)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B162F6 #A7F662
analogous
#6762F6 #B162F6 #F662F1
triadic
#B162F6 #F6B162 #62F6B1
tetradic
#B162F6 #F66762 #A7F662 #62F1F6
square
#B162F6 #F66762 #A7F662 #62F1F6
split-complementary
#B162F6 #F1F662 #62F667
monochromatic
#750CD2 #9428F3 #B162F6 #CE9CF9 #EBD6FD

Accessibility & contrast

On white

3.53
#B162F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#B162F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B162F6
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B162F6#FFFFFF#000000##000000
##B162F61.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1386FB
Deuteranopia (green-blind)
#4389F3
Tritanopia (blue-blind)
#A580A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b162f6;
/* rgb */ color: rgb(177, 98, 246);
/* oklch */ color: oklch(65.3% 0.216 305.8);
Tailwind
colors: {
  custom: {
    50: '#cc92fa',
    500: '#b162f6',
    950: '#000000',
  },
}
SCSS
$custom: #b162f6;
$custom-light: #cc92fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b162f6",
  "rgb": {
    "r": 177,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 272.027,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65269,
    "c": 0.21642,
    "h": 305.8
  },
  "luminance": 0.24736
}

Semantic roles & 50–950 ramp

primary
#B162F6
secondary
#D8F1C3
accent
#E6006B
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B162F6

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

Preview Lab → · Contrast checker → · Palette generator →

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