#B259B2#B259B2

#B259B2 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.3% C 0.161 H 327.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B259B2
RGBrgb(178, 89, 178)
HSLhsl(300, 37%, 52%)
HSVhsv(300, 50%, 70%)
CMYKcmyk(0%, 50%, 0%, 30.2%)
CIE-LABlab(51.64, 48.76, -31.64)
CIE-LCHlch(51.64, 58.13, 327.02°)
OKLaboklab(60.33% 0.1355 -0.0868)
OKLCHoklch(60.33% 0.161 327.3)
XYZxyz(29.9678, 19.8257, 44.3591)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259B2 #59B259
analogous
#8659B2 #B259B2 #B25986
triadic
#B259B2 #B2B259 #59B2B2
tetradic
#B259B2 #B28659 #59B259 #5986B2
square
#B259B2 #B28659 #59B259 #5986B2
split-complementary
#B259B2 #86B259 #59B286
monochromatic
#632E63 #8D418D #B259B2 #C583C5 #D9ADD9

Accessibility & contrast

On white

4.23
#B259B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B259B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259B2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259B2#FFFFFF#000000##000000
##B259B21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#6B7FAF
Tritanopia (blue-blind)
#B7637D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b259b2;
/* rgb */ color: rgb(178, 89, 178);
/* oklch */ color: oklch(60.3% 0.161 327.3);
Tailwind
colors: {
  custom: {
    50: '#cb8bc9',
    500: '#b259b2',
    950: '#000000',
  },
}
SCSS
$custom: #b259b2;
$custom-light: #cb8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b259b2",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60329,
    "c": 0.16094,
    "h": 327.3
  },
  "luminance": 0.19824
}

Semantic roles & 50–950 ramp

primary
#B259B2
secondary
#A0C7A0
accent
#CD5B5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B259B2

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

Preview Lab → · Contrast checker → · Palette generator →

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