#B261D9#B261D9

#B261D9 is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.5% C 0.187 H 313.5°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B261D9
RGBrgb(178, 97, 217)
HSLhsl(281, 61%, 62%)
HSVhsv(281, 55%, 85%)
CMYKcmyk(18%, 55.3%, 0%, 14.9%)
CIE-LABlab(55.10, 52.46, -48.56)
CIE-LCHlch(55.10, 71.48, 317.21°)
OKLaboklab(63.51% 0.1288 -0.1359)
OKLCHoklch(63.51% 0.187 313.5)
XYZxyz(35.1571, 23.0251, 68.2245)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261D9 #88D961
analogous
#7661D9 #B261D9 #D961C4
triadic
#B261D9 #D9B261 #61D9B2
tetradic
#B261D9 #D97661 #88D961 #61C4D9
square
#B261D9 #D97661 #88D961 #61C4D9
split-complementary
#B261D9 #C4D961 #61D976
monochromatic
#74259A #9931CC #B261D9 #CA92E5 #E2C4F1

Accessibility & contrast

On white

3.75
#B261D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B261D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261D9
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261D9#FFFFFF#000000##000000
##B261D91.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#407FDD
Deuteranopia (green-blind)
#5C86D6
Tritanopia (blue-blind)
#AE7594
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b261d9;
/* rgb */ color: rgb(178, 97, 217);
/* oklch */ color: oklch(63.5% 0.187 313.5);
Tailwind
colors: {
  custom: {
    50: '#cc91e5',
    500: '#b261d9',
    950: '#000000',
  },
}
SCSS
$custom: #b261d9;
$custom-light: #cc91e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b261d9",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 217
  },
  "hsl": {
    "h": 280.5,
    "s": 61.224,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63507,
    "c": 0.18721,
    "h": 313.5
  },
  "luminance": 0.23024
}

Semantic roles & 50–950 ramp

primary
#B261D9
secondary
#C3E1B5
accent
#C91D55
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B261D9

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

Preview Lab → · Contrast checker → · Palette generator →

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