#B259BC#B259BC

#B259BC is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.8% C 0.170 H 323.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B259BC
RGBrgb(178, 89, 188)
HSLhsl(294, 42%, 54%)
HSVhsv(294, 53%, 74%)
CMYKcmyk(5.3%, 52.7%, 0%, 26.3%)
CIE-LABlab(52.11, 50.63, -36.71)
CIE-LCHlch(52.11, 62.53, 324.06°)
OKLaboklab(60.83% 0.1369 -0.1014)
OKLCHoklch(60.83% 0.17 323.5)
XYZxyz(31.0087, 20.2421, 49.8410)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259BC #63BC59
analogous
#8159BC #B259BC #BC5995
triadic
#B259BC #BCB259 #59BCB2
tetradic
#B259BC #BC8159 #63BC59 #5995BC
square
#B259BC #BC8159 #63BC59 #5995BC
split-complementary
#B259BC #95BC59 #59BC81
monochromatic
#682C6E #903E9A #B259BC #C685CE #DAB0DF

Accessibility & contrast

On white

4.16
#B259BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B259BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259BC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259BC#FFFFFF#000000##000000
##B259BC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BF
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#B56682
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b259bc;
/* rgb */ color: rgb(178, 89, 188);
/* oklch */ color: oklch(60.8% 0.170 323.5);
Tailwind
colors: {
  custom: {
    50: '#cb8cd0',
    500: '#b259bc',
    950: '#000000',
  },
}
SCSS
$custom: #b259bc;
$custom-light: #cb8cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b259bc",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 293.939,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6083,
    "c": 0.17037,
    "h": 323.5
  },
  "luminance": 0.20241
}

Semantic roles & 50–950 ramp

primary
#B259BC
secondary
#A8CDA3
accent
#D25662
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B259BC

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

Preview Lab → · Contrast checker → · Palette generator →

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