#B261C8#B261C8

#B261C8 is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.6% C 0.169 H 318.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B261C8
RGBrgb(178, 97, 200)
HSLhsl(287, 48%, 58%)
HSVhsv(287, 52%, 78%)
CMYKcmyk(11%, 51.5%, 0%, 21.6%)
CIE-LABlab(54.22, 48.94, -40.28)
CIE-LCHlch(54.22, 63.38, 320.55°)
OKLaboklab(62.58% 0.1274 -0.1118)
OKLCHoklch(62.58% 0.169 318.7)
XYZxyz(33.0587, 22.1857, 57.1733)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261C8 #77C861
analogous
#7E61C8 #B261C8 #C861AB
triadic
#B261C8 #C8B261 #61C8B2
tetradic
#B261C8 #C87E61 #77C861 #61ABC8
square
#B261C8 #C87E61 #77C861 #61ABC8
split-complementary
#B261C8 #ABC861 #61C87E
monochromatic
#6F2D82 #973DAF #B261C8 #C88ED8 #DEBCE8

Accessibility & contrast

On white

3.86
#B261C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#B261C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261C8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261C8#FFFFFF#000000##000000
##B261C81.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCB
Deuteranopia (green-blind)
#6784C5
Tritanopia (blue-blind)
#B2708C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b261c8;
/* rgb */ color: rgb(178, 97, 200);
/* oklch */ color: oklch(62.6% 0.169 318.7);
Tailwind
colors: {
  custom: {
    50: '#cb91d9',
    500: '#b261c8',
    950: '#000000',
  },
}
SCSS
$custom: #b261c8;
$custom-light: #cb91d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b261c8",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 200
  },
  "hsl": {
    "h": 287.184,
    "s": 48.357,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62579,
    "c": 0.16946,
    "h": 318.7
  },
  "luminance": 0.22184
}

Semantic roles & 50–950 ramp

primary
#B261C8
secondary
#B7D7AE
accent
#D8506D
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B261C8

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

Preview Lab → · Contrast checker → · Palette generator →

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