#B259CA#B259CA

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

Color values

HEX#B259CA
RGBrgb(178, 89, 202)
HSLhsl(287, 52%, 57%)
HSVhsv(287, 56%, 79%)
CMYKcmyk(11.9%, 55.9%, 0%, 20.8%)
CIE-LABlab(52.81, 53.36, -43.65)
CIE-LCHlch(52.81, 68.94, 320.72°)
OKLaboklab(61.58% 0.1383 -0.1215)
OKLCHoklch(61.58% 0.184 318.7)
XYZxyz(32.5917, 20.8753, 58.1782)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259CA #71CA59
analogous
#7A59CA #B259CA #CA59A9
triadic
#B259CA #CAB259 #59CAB2
tetradic
#B259CA #CA7A59 #71CA59 #59A9CA
square
#B259CA #CA7A59 #71CA59 #59A9CA
split-complementary
#B259CA #A9CA59 #59CA7A
monochromatic
#6D2980 #9538AE #B259CA #C887D9 #DDB6E8

Accessibility & contrast

On white

4.06
#B259CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B259CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259CA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259CA#FFFFFF#000000##000000
##B259CA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CE
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#B26A89
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b259ca;
/* rgb */ color: rgb(178, 89, 202);
/* oklch */ color: oklch(61.6% 0.184 318.7);
Tailwind
colors: {
  custom: {
    50: '#cc8cda',
    500: '#b259ca',
    950: '#000000',
  },
}
SCSS
$custom: #b259ca;
$custom-light: #cc8cda;
$custom-dark: #000000;
JSON
{
  "hex": "#b259ca",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 287.257,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61575,
    "c": 0.18407,
    "h": 318.7
  },
  "luminance": 0.20874
}

Semantic roles & 50–950 ramp

primary
#B259CA
secondary
#B2D6A8
accent
#DB4D6B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B259CA

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

Preview Lab → · Contrast checker → · Palette generator →

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