#B261D2#B261D2

#B261D2 is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.1% C 0.180 H 315.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B261D2
RGBrgb(178, 97, 210)
HSLhsl(283, 56%, 60%)
HSVhsv(283, 54%, 82%)
CMYKcmyk(15.2%, 53.8%, 0%, 17.6%)
CIE-LABlab(54.73, 50.99, -45.18)
CIE-LCHlch(54.73, 68.12, 318.46°)
OKLaboklab(63.12% 0.1283 -0.126)
OKLCHoklch(63.12% 0.18 315.5)
XYZxyz(34.2658, 22.6686, 63.5307)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261D2 #81D261
analogous
#7A61D2 #B261D2 #D261B9
triadic
#B261D2 #D2B261 #61D2B2
tetradic
#B261D2 #D27A61 #81D261 #61B9D2
square
#B261D2 #D27A61 #81D261 #61B9D2
split-complementary
#B261D2 #B9D261 #61D27A
monochromatic
#732990 #9936BF #B261D2 #C991E0 #E0C0ED

Accessibility & contrast

On white

3.79
#B261D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#B261D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261D2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261D2#FFFFFF#000000##000000
##B261D21.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ED6
Deuteranopia (green-blind)
#6185CF
Tritanopia (blue-blind)
#B07390
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b261d2;
/* rgb */ color: rgb(178, 97, 210);
/* oklch */ color: oklch(63.1% 0.180 315.5);
Tailwind
colors: {
  custom: {
    50: '#cb91e0',
    500: '#b261d2',
    950: '#000000',
  },
}
SCSS
$custom: #b261d2;
$custom-light: #cb91e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b261d2",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 210
  },
  "hsl": {
    "h": 283.009,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63117,
    "c": 0.17984,
    "h": 315.5
  },
  "luminance": 0.22668
}

Semantic roles & 50–950 ramp

primary
#B261D2
secondary
#BEDDB2
accent
#C32250
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B261D2

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

Preview Lab → · Contrast checker → · Palette generator →

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