#B261CD#B261CD

#B261CD is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.8% C 0.175 H 317.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B261CD
RGBrgb(178, 97, 205)
HSLhsl(285, 52%, 59%)
HSVhsv(285, 53%, 80%)
CMYKcmyk(13.2%, 52.7%, 0%, 19.6%)
CIE-LABlab(54.47, 49.96, -42.74)
CIE-LCHlch(54.47, 65.74, 319.46°)
OKLaboklab(62.85% 0.1279 -0.1189)
OKLCHoklch(62.85% 0.175 317.1)
XYZxyz(33.6526, 22.4233, 60.3012)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261CD #7CCD61
analogous
#7C61CD #B261CD #CD61B2
triadic
#B261CD #CDB261 #61CDB2
tetradic
#B261CD #CD7C61 #7CCD61 #61B2CD
square
#B261CD #CD7C61 #7CCD61 #61B2CD
split-complementary
#B261CD #B2CD61 #61CD7C
monochromatic
#712B88 #983AB7 #B261CD #C98FDC #DFBEEA

Accessibility & contrast

On white

3.83
#B261CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#B261CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261CD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261CD#FFFFFF#000000##000000
##B261CD1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD1
Deuteranopia (green-blind)
#6485CA
Tritanopia (blue-blind)
#B1718E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b261cd;
/* rgb */ color: rgb(178, 97, 205);
/* oklch */ color: oklch(62.8% 0.175 317.1);
Tailwind
colors: {
  custom: {
    50: '#cb91dd',
    500: '#b261cd',
    950: '#000000',
  },
}
SCSS
$custom: #b261cd;
$custom-light: #cb91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b261cd",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 285,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62845,
    "c": 0.17462,
    "h": 317.1
  },
  "luminance": 0.22422
}

Semantic roles & 50–950 ramp

primary
#B261CD
secondary
#BADAB0
accent
#DB4C70
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B261CD

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

Preview Lab → · Contrast checker → · Palette generator →

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