#B259D2#B259D2

#B259D2 is a light, vivid purple. Relative luminance 0.213; OKLCH L 62.0% C 0.192 H 316.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B259D2
RGBrgb(178, 89, 210)
HSLhsl(284, 57%, 59%)
HSVhsv(284, 58%, 82%)
CMYKcmyk(15.2%, 57.6%, 0%, 17.6%)
CIE-LABlab(53.24, 54.97, -47.54)
CIE-LCHlch(53.24, 72.68, 319.15°)
OKLaboklab(62.02% 0.1387 -0.1329)
OKLCHoklch(62.02% 0.192 316.2)
XYZxyz(33.5636, 21.2640, 63.2966)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259D2 #79D259
analogous
#7559D2 #B259D2 #D259B5
triadic
#B259D2 #D2B259 #59D2B2
tetradic
#B259D2 #D27559 #79D259 #59B5D2
square
#B259D2 #D27559 #79D259 #59B5D2
split-complementary
#B259D2 #B5D259 #59D275
monochromatic
#70268B #9733BB #B259D2 #C889DF #DFB9EC

Accessibility & contrast

On white

4.00
#B259D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#B259D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259D2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259D2#FFFFFF#000000##000000
##B259D21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#397AD6
Deuteranopia (green-blind)
#5A82CF
Tritanopia (blue-blind)
#B06D8D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b259d2;
/* rgb */ color: rgb(178, 89, 210);
/* oklch */ color: oklch(62.0% 0.192 316.2);
Tailwind
colors: {
  custom: {
    50: '#cc8ce0',
    500: '#b259d2',
    950: '#000000',
  },
}
SCSS
$custom: #b259d2;
$custom-light: #cc8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#b259d2",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 210
  },
  "hsl": {
    "h": 284.132,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62023,
    "c": 0.19207,
    "h": 316.2
  },
  "luminance": 0.21263
}

Semantic roles & 50–950 ramp

primary
#B259D2
secondary
#B8DBAB
accent
#E14770
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B259D2

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

Preview Lab → · Contrast checker → · Palette generator →

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