#B162F3#B162F3

#B162F3 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.1% C 0.213 H 306.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B162F3
RGBrgb(177, 98, 243)
HSLhsl(273, 86%, 67%)
HSVhsv(273, 60%, 95%)
CMYKcmyk(27.2%, 59.7%, 0%, 4.7%)
CIE-LABlab(56.64, 57.41, -60.69)
CIE-LCHlch(56.64, 83.54, 313.41°)
OKLaboklab(65.08% 0.1268 -0.1714)
OKLCHoklch(65.08% 0.213 306.5)
XYZxyz(38.6734, 24.5539, 87.4787)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B162F3 #A4F362
analogous
#6962F3 #B162F3 #F362EC
triadic
#B162F3 #F3B162 #62F3B1
tetradic
#B162F3 #F36962 #A4F362 #62ECF3
square
#B162F3 #F36962 #A4F362 #62ECF3
split-complementary
#B162F3 #ECF362 #62F369
monochromatic
#7610CB #9529EF #B162F3 #CD9BF7 #E9D4FC

Accessibility & contrast

On white

3.55
#B162F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#B162F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B162F3
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B162F3#FFFFFF#000000##000000
##B162F31.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C85F8
Deuteranopia (green-blind)
#4788F0
Tritanopia (blue-blind)
#A67FA2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b162f3;
/* rgb */ color: rgb(177, 98, 243);
/* oklch */ color: oklch(65.1% 0.213 306.5);
Tailwind
colors: {
  custom: {
    50: '#cc92f8',
    500: '#b162f3',
    950: '#000000',
  },
}
SCSS
$custom: #b162f3;
$custom-light: #cc92f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b162f3",
  "rgb": {
    "r": 177,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 272.69,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65081,
    "c": 0.21319,
    "h": 306.5
  },
  "luminance": 0.24554
}

Semantic roles & 50–950 ramp

primary
#B162F3
secondary
#D6F0C1
accent
#E20369
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B162F3

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

Preview Lab → · Contrast checker → · Palette generator →

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