#B246DA#B246DA

#B246DA is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.2% C 0.226 H 315.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B246DA
RGBrgb(178, 70, 218)
HSLhsl(284, 67%, 56%)
HSVhsv(284, 68%, 85%)
CMYKcmyk(18.3%, 67.9%, 0%, 14.5%)
CIE-LABlab(50.58, 65.16, -56.34)
CIE-LCHlch(50.58, 86.14, 319.15°)
OKLaboklab(60.25% 0.1608 -0.1585)
OKLCHoklch(60.25% 0.226 315.4)
XYZxyz(33.2031, 18.9085, 68.2168)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246DA #6EDA46
analogous
#6846DA #B246DA #DA46B8
triadic
#B246DA #DAB246 #46DAB2
tetradic
#B246DA #DA6846 #6EDA46 #46B8DA
square
#B246DA #DA6846 #6EDA46 #46B8DA
split-complementary
#B246DA #B8DA46 #46DA68
monochromatic
#6C1C8A #9426BD #B246DA #C779E4 #DCACEE

Accessibility & contrast

On white

4.39
#B246DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B246DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B246DA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246DA#FFFFFF#000000##000000
##B246DA1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#437BD7
Tritanopia (blue-blind)
#AF638B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b246da;
/* rgb */ color: rgb(178, 70, 218);
/* oklch */ color: oklch(60.2% 0.226 315.4);
Tailwind
colors: {
  custom: {
    50: '#cd82e6',
    500: '#b246da',
    950: '#000000',
  },
}
SCSS
$custom: #b246da;
$custom-light: #cd82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b246da",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 283.784,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60249,
    "c": 0.22573,
    "h": 315.4
  },
  "luminance": 0.18907
}

Semantic roles & 50–950 ramp

primary
#B246DA
secondary
#B0DCA0
accent
#EA3E6D
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B246DA

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

Preview Lab → · Contrast checker → · Palette generator →

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