#B259BA#B259BA

#B259BA is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.7% C 0.168 H 324.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B259BA
RGBrgb(178, 89, 186)
HSLhsl(295, 41%, 54%)
HSVhsv(295, 52%, 73%)
CMYKcmyk(4.3%, 52.2%, 0%, 27.1%)
CIE-LABlab(52.01, 50.25, -35.70)
CIE-LCHlch(52.01, 61.64, 324.61°)
OKLaboklab(60.73% 0.1367 -0.0985)
OKLCHoklch(60.73% 0.168 324.2)
XYZxyz(30.7946, 20.1564, 48.7134)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259BA #61BA59
analogous
#8259BA #B259BA #BA5992
triadic
#B259BA #BAB259 #59BAB2
tetradic
#B259BA #BA8259 #61BA59 #5992BA
square
#B259BA #BA8259 #61BA59 #5992BA
split-complementary
#B259BA #92BA59 #59BA82
monochromatic
#672D6C #903F97 #B259BA #C684CC #DAAFDE

Accessibility & contrast

On white

4.17
#B259BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B259BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259BA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259BA#FFFFFF#000000##000000
##B259BA1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BD
Deuteranopia (green-blind)
#6880B7
Tritanopia (blue-blind)
#B56581
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b259ba;
/* rgb */ color: rgb(178, 89, 186);
/* oklch */ color: oklch(60.7% 0.168 324.2);
Tailwind
colors: {
  custom: {
    50: '#cb8ccf',
    500: '#b259ba',
    950: '#000000',
  },
}
SCSS
$custom: #b259ba;
$custom-light: #cb8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#b259ba",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 295.052,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60728,
    "c": 0.16846,
    "h": 324.2
  },
  "luminance": 0.20155
}

Semantic roles & 50–950 ramp

primary
#B259BA
secondary
#A6CCA3
accent
#D15761
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B259BA

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

Preview Lab → · Contrast checker → · Palette generator →

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