#B259CC#B259CC

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

Color values

HEX#B259CC
RGBrgb(178, 89, 204)
HSLhsl(286, 53%, 57%)
HSVhsv(286, 56%, 80%)
CMYKcmyk(12.7%, 56.4%, 0%, 20%)
CIE-LABlab(52.92, 53.76, -44.63)
CIE-LCHlch(52.92, 69.87, 320.30°)
OKLaboklab(61.69% 0.1384 -0.1244)
OKLCHoklch(61.69% 0.186 318.1)
XYZxyz(32.8301, 20.9706, 59.4334)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259CC #73CC59
analogous
#7959CC #B259CC #CC59AC
triadic
#B259CC #CCB259 #59CCB2
tetradic
#B259CC #CC7959 #73CC59 #59ACCC
square
#B259CC #CC7959 #73CC59 #59ACCC
split-complementary
#B259CC #ACCC59 #59CC79
monochromatic
#6E2883 #9636B1 #B259CC #C888DA #DDB7E9

Accessibility & contrast

On white

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

On black

5.19
#B259CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259CC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259CC#FFFFFF#000000##000000
##B259CC1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78D0
Deuteranopia (green-blind)
#5E81C9
Tritanopia (blue-blind)
#B26B8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b259cc;
/* rgb */ color: rgb(178, 89, 204);
/* oklch */ color: oklch(61.7% 0.186 318.1);
Tailwind
colors: {
  custom: {
    50: '#cc8cdc',
    500: '#b259cc',
    950: '#000000',
  },
}
SCSS
$custom: #b259cc;
$custom-light: #cc8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b259cc",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 286.435,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61685,
    "c": 0.18606,
    "h": 318.1
  },
  "luminance": 0.20969
}

Semantic roles & 50–950 ramp

primary
#B259CC
secondary
#B4D8A9
accent
#DC4B6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B259CC

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

Preview Lab → · Contrast checker → · Palette generator →

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