#B261CB#B261CB

#B261CB is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.7% C 0.173 H 317.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B261CB
RGBrgb(178, 97, 203)
HSLhsl(286, 50%, 59%)
HSVhsv(286, 52%, 80%)
CMYKcmyk(12.3%, 52.2%, 0%, 20.4%)
CIE-LABlab(54.37, 49.55, -41.76)
CIE-LCHlch(54.37, 64.80, 319.88°)
OKLaboklab(62.74% 0.1277 -0.1161)
OKLCHoklch(62.74% 0.173 317.7)
XYZxyz(33.4128, 22.3273, 59.0379)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261CB #7ACB61
analogous
#7D61CB #B261CB #CB61AF
triadic
#B261CB #CBB261 #61CBB2
tetradic
#B261CB #CB7D61 #7ACB61 #61AFCB
square
#B261CB #CB7D61 #7ACB61 #61AFCB
split-complementary
#B261CB #AFCB61 #61CB7D
monochromatic
#702C86 #973BB4 #B261CB #C88FDA #DFBDE9

Accessibility & contrast

On white

3.84
#B261CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B261CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261CB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261CB#FFFFFF#000000##000000
##B261CB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DCF
Deuteranopia (green-blind)
#6585C8
Tritanopia (blue-blind)
#B2718D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b261cb;
/* rgb */ color: rgb(178, 97, 203);
/* oklch */ color: oklch(62.7% 0.173 317.7);
Tailwind
colors: {
  custom: {
    50: '#cb91db',
    500: '#b261cb',
    950: '#000000',
  },
}
SCSS
$custom: #b261cb;
$custom-light: #cb91db;
$custom-dark: #000000;
JSON
{
  "hex": "#b261cb",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 203
  },
  "hsl": {
    "h": 285.849,
    "s": 50.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62738,
    "c": 0.17255,
    "h": 317.7
  },
  "luminance": 0.22326
}

Semantic roles & 50–950 ramp

primary
#B261CB
secondary
#B9D9AF
accent
#DA4E6F
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B261CB

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

Preview Lab → · Contrast checker → · Palette generator →

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