#B261DC#B261DC

#B261DC is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.7% C 0.190 H 312.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B261DC
RGBrgb(178, 97, 220)
HSLhsl(280, 64%, 62%)
HSVhsv(280, 56%, 86%)
CMYKcmyk(19.1%, 55.9%, 0%, 13.7%)
CIE-LABlab(55.26, 53.10, -50.00)
CIE-LCHlch(55.26, 72.93, 316.72°)
OKLaboklab(63.68% 0.129 -0.1401)
OKLCHoklch(63.68% 0.19 312.6)
XYZxyz(35.5508, 23.1826, 70.2982)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261DC #8BDC61
analogous
#7461DC #B261DC #DC61C9
triadic
#B261DC #DCB261 #61DCB2
tetradic
#B261DC #DC7461 #8BDC61 #61C9DC
square
#B261DC #DC7461 #8BDC61 #61C9DC
split-complementary
#B261DC #C9DC61 #61DC74
monochromatic
#75239F #9A2FD1 #B261DC #CA93E7 #E3C5F2

Accessibility & contrast

On white

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

On black

5.64
#B261DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261DC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261DC#FFFFFF#000000##000000
##B261DC1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80E0
Deuteranopia (green-blind)
#5A86D9
Tritanopia (blue-blind)
#AE7695
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b261dc;
/* rgb */ color: rgb(178, 97, 220);
/* oklch */ color: oklch(63.7% 0.190 312.6);
Tailwind
colors: {
  custom: {
    50: '#cc91e7',
    500: '#b261dc',
    950: '#000000',
  },
}
SCSS
$custom: #b261dc;
$custom-light: #cc91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b261dc",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 279.512,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63678,
    "c": 0.19038,
    "h": 312.6
  },
  "luminance": 0.23182
}

Semantic roles & 50–950 ramp

primary
#B261DC
secondary
#C5E3B6
accent
#CC1A57
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B261DC

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

Preview Lab → · Contrast checker → · Palette generator →

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