#B259CD#B259CD

#B259CD is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.7% C 0.187 H 317.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B259CD
RGBrgb(178, 89, 205)
HSLhsl(286, 54%, 58%)
HSVhsv(286, 57%, 80%)
CMYKcmyk(13.2%, 56.6%, 0%, 19.6%)
CIE-LABlab(52.97, 53.96, -45.12)
CIE-LCHlch(52.97, 70.34, 320.10°)
OKLaboklab(61.74% 0.1385 -0.1258)
OKLCHoklch(61.74% 0.187 317.7)
XYZxyz(32.9504, 21.0188, 60.0671)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259CD #74CD59
analogous
#7859CD #B259CD #CD59AE
triadic
#B259CD #CDB259 #59CDB2
tetradic
#B259CD #CD7859 #74CD59 #59AECD
square
#B259CD #CD7859 #74CD59 #59AECD
split-complementary
#B259CD #AECD59 #59CD78
monochromatic
#6E2884 #9636B3 #B259CD #C888DB #DEB7E9

Accessibility & contrast

On white

4.04
#B259CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B259CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259CD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259CD#FFFFFF#000000##000000
##B259CD1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D1
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#B16B8B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b259cd;
/* rgb */ color: rgb(178, 89, 205);
/* oklch */ color: oklch(61.7% 0.187 317.7);
Tailwind
colors: {
  custom: {
    50: '#cc8cdd',
    500: '#b259cd',
    950: '#000000',
  },
}
SCSS
$custom: #b259cd;
$custom-light: #cc8cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b259cd",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 286.034,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61741,
    "c": 0.18706,
    "h": 317.7
  },
  "luminance": 0.21018
}

Semantic roles & 50–950 ramp

primary
#B259CD
secondary
#B4D8AA
accent
#DD4B6D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B259CD

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

Preview Lab → · Contrast checker → · Palette generator →

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