#B246D6#B246D6

#B246D6 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.222 H 316.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B246D6
RGBrgb(178, 70, 214)
HSLhsl(285, 64%, 56%)
HSVhsv(285, 67%, 84%)
CMYKcmyk(16.8%, 67.3%, 0%, 16.1%)
CIE-LABlab(50.34, 64.37, -54.45)
CIE-LCHlch(50.34, 84.31, 319.77°)
OKLaboklab(60% 0.161 -0.1529)
OKLCHoklch(60% 0.222 316.5)
XYZxyz(32.6860, 18.7016, 65.4933)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246D6 #6AD646
analogous
#6A46D6 #B246D6 #D646B2
triadic
#B246D6 #D6B246 #46D6B2
tetradic
#B246D6 #D66A46 #6AD646 #46B2D6
square
#B246D6 #D66A46 #6AD646 #46B2D6
split-complementary
#B246D6 #B2D646 #46D66A
monochromatic
#6B1D84 #9328B6 #B246D6 #C778E1 #DCAAEC

Accessibility & contrast

On white

4.43
#B246D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B246D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B246D6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246D6#FFFFFF#000000##000000
##B246D61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DA
Deuteranopia (green-blind)
#477BD3
Tritanopia (blue-blind)
#B06289
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b246d6;
/* rgb */ color: rgb(178, 70, 214);
/* oklch */ color: oklch(60.0% 0.222 316.5);
Tailwind
colors: {
  custom: {
    50: '#cd81e3',
    500: '#b246d6',
    950: '#000000',
  },
}
SCSS
$custom: #b246d6;
$custom-light: #cd81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b246d6",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 285,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59996,
    "c": 0.22206,
    "h": 316.5
  },
  "luminance": 0.187
}

Semantic roles & 50–950 ramp

primary
#B246D6
secondary
#ADDA9E
accent
#E7416A
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B246D6

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

Preview Lab → · Contrast checker → · Palette generator →

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