#B261CA#B261CA

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

Color values

HEX#B261CA
RGBrgb(178, 97, 202)
HSLhsl(286, 50%, 59%)
HSVhsv(286, 52%, 79%)
CMYKcmyk(11.9%, 52%, 0%, 20.8%)
CIE-LABlab(54.32, 49.35, -41.26)
CIE-LCHlch(54.32, 64.33, 320.10°)
OKLaboklab(62.69% 0.1276 -0.1146)
OKLCHoklch(62.69% 0.172 318.1)
XYZxyz(33.2940, 22.2798, 58.4123)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261CA #79CA61
analogous
#7D61CA #B261CA #CA61AD
triadic
#B261CA #CAB261 #61CAB2
tetradic
#B261CA #CA7D61 #79CA61 #61ADCA
square
#B261CA #CA7D61 #79CA61 #61ADCA
split-complementary
#B261CA #ADCA61 #61CA7D
monochromatic
#702C84 #973CB2 #B261CA #C88FD9 #DFBDE9

Accessibility & contrast

On white

3.85
#B261CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#B261CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261CA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261CA#FFFFFF#000000##000000
##B261CA1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCE
Deuteranopia (green-blind)
#6685C7
Tritanopia (blue-blind)
#B2708C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b261ca;
/* rgb */ color: rgb(178, 97, 202);
/* oklch */ color: oklch(62.7% 0.172 318.1);
Tailwind
colors: {
  custom: {
    50: '#cb91da',
    500: '#b261ca',
    950: '#000000',
  },
}
SCSS
$custom: #b261ca;
$custom-light: #cb91da;
$custom-dark: #000000;
JSON
{
  "hex": "#b261ca",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 202
  },
  "hsl": {
    "h": 286.286,
    "s": 49.763,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62685,
    "c": 0.17152,
    "h": 318.1
  },
  "luminance": 0.22279
}

Semantic roles & 50–950 ramp

primary
#B261CA
secondary
#B8D8AF
accent
#D94F6E
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B261CA

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

Preview Lab → · Contrast checker → · Palette generator →

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