#B161FC#B161FC

#B161FC is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.5% C 0.224 H 304.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B161FC
RGBrgb(177, 97, 252)
HSLhsl(271, 96%, 68%)
HSVhsv(271, 62%, 99%)
CMYKcmyk(29.8%, 61.5%, 0%, 1.2%)
CIE-LABlab(57.00, 59.95, -65.10)
CIE-LCHlch(57.00, 88.49, 312.64°)
OKLaboklab(65.52% 0.1277 -0.1843)
OKLCHoklch(65.52% 0.224 304.7)
XYZxyz(39.9730, 24.9250, 94.7817)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B161FC #ACFC61
analogous
#6361FC #B161FC #FC61F9
triadic
#B161FC #FCB161 #61FCB1
tetradic
#B161FC #FC6361 #ACFC61 #61F9FC
square
#B161FC #FC6361 #ACFC61 #61F9FC
split-complementary
#B161FC #F9FC61 #61FC63
monochromatic
#7504DE #9325FB #B161FC #CF9DFD #ECD9FE

Accessibility & contrast

On white

3.51
#B161FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#B161FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B161FC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B161FC#FFFFFF#000000##000000
##B161FC1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b161fc;
/* rgb */ color: rgb(177, 97, 252);
/* oklch */ color: oklch(65.5% 0.224 304.7);
Tailwind
colors: {
  custom: {
    50: '#cd92fe',
    500: '#b161fc',
    950: '#000000',
  },
}
SCSS
$custom: #b161fc;
$custom-light: #cd92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b161fc",
  "rgb": {
    "r": 177,
    "g": 97,
    "b": 252
  },
  "hsl": {
    "h": 270.968,
    "s": 96.273,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6552,
    "c": 0.22421,
    "h": 304.7
  },
  "luminance": 0.24925
}

Semantic roles & 50–950 ramp

primary
#B161FC
secondary
#DCF4C5
accent
#E6006F
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B161FC

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

Preview Lab → · Contrast checker → · Palette generator →

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