#B259CB#B259CB

#B259CB is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.6% C 0.185 H 318.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B259CB
RGBrgb(178, 89, 203)
HSLhsl(287, 52%, 57%)
HSVhsv(287, 56%, 80%)
CMYKcmyk(12.3%, 56.2%, 0%, 20.4%)
CIE-LABlab(52.86, 53.56, -44.14)
CIE-LCHlch(52.86, 69.40, 320.51°)
OKLaboklab(61.63% 0.1383 -0.1229)
OKLCHoklch(61.63% 0.185 318.4)
XYZxyz(32.7105, 20.9228, 58.8038)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259CB #72CB59
analogous
#7959CB #B259CB #CB59AB
triadic
#B259CB #CBB259 #59CBB2
tetradic
#B259CB #CB7959 #72CB59 #59ABCB
square
#B259CB #CB7959 #72CB59 #59ABCB
split-complementary
#B259CB #ABCB59 #59CB79
monochromatic
#6E2881 #9537B0 #B259CB #C888DA #DDB6E8

Accessibility & contrast

On white

4.05
#B259CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B259CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259CB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259CB#FFFFFF#000000##000000
##B259CB1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CF
Deuteranopia (green-blind)
#5F81C8
Tritanopia (blue-blind)
#B26B8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b259cb;
/* rgb */ color: rgb(178, 89, 203);
/* oklch */ color: oklch(61.6% 0.185 318.4);
Tailwind
colors: {
  custom: {
    50: '#cc8cdb',
    500: '#b259cb',
    950: '#000000',
  },
}
SCSS
$custom: #b259cb;
$custom-light: #cc8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b259cb",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 286.842,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6163,
    "c": 0.18507,
    "h": 318.4
  },
  "luminance": 0.20922
}

Semantic roles & 50–950 ramp

primary
#B259CB
secondary
#B3D7A9
accent
#DC4C6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B259CB

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

Preview Lab → · Contrast checker → · Palette generator →

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