#B246DC#B246DC

#B246DC is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.228 H 314.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B246DC
RGBrgb(178, 70, 220)
HSLhsl(283, 68%, 57%)
HSVhsv(283, 68%, 86%)
CMYKcmyk(19.1%, 68.2%, 0%, 13.7%)
CIE-LABlab(50.70, 65.56, -57.28)
CIE-LCHlch(50.70, 87.06, 318.85°)
OKLaboklab(60.38% 0.1606 -0.1612)
OKLCHoklch(60.38% 0.228 314.9)
XYZxyz(33.4664, 19.0138, 69.6034)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246DC #70DC46
analogous
#6746DC #B246DC #DC46BB
triadic
#B246DC #DCB246 #46DCB2
tetradic
#B246DC #DC6746 #70DC46 #46BBDC
square
#B246DC #DC6746 #70DC46 #46BBDC
split-complementary
#B246DC #BBDC46 #46DC67
monochromatic
#6D1B8D #9524C0 #B246DC #C779E6 #DDADEF

Accessibility & contrast

On white

4.37
#B246DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B246DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B246DC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246DC#FFFFFF#000000##000000
##B246DC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#417CD9
Tritanopia (blue-blind)
#AF648C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b246dc;
/* rgb */ color: rgb(178, 70, 220);
/* oklch */ color: oklch(60.4% 0.228 314.9);
Tailwind
colors: {
  custom: {
    50: '#cd82e8',
    500: '#b246dc',
    950: '#000000',
  },
}
SCSS
$custom: #b246dc;
$custom-light: #cd82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b246dc",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 283.2,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60377,
    "c": 0.22757,
    "h": 314.9
  },
  "luminance": 0.19013
}

Semantic roles & 50–950 ramp

primary
#B246DC
secondary
#B1DDA0
accent
#EB3D6E
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B246DC

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

Preview Lab → · Contrast checker → · Palette generator →

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