#B246CC#B246CC

#B246CC is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.213 H 319.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B246CC
RGBrgb(178, 70, 204)
HSLhsl(288, 57%, 54%)
HSVhsv(288, 66%, 80%)
CMYKcmyk(12.7%, 65.7%, 0%, 20%)
CIE-LABlab(49.75, 62.44, -49.67)
CIE-LCHlch(49.75, 79.79, 321.50°)
OKLaboklab(59.38% 0.1614 -0.1389)
OKLCHoklch(59.38% 0.213 319.3)
XYZxyz(31.4479, 18.2064, 58.9727)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246CC #60CC46
analogous
#6F46CC #B246CC #CC46A3
triadic
#B246CC #CCB246 #46CCB2
tetradic
#B246CC #CC6F46 #60CC46 #46A3CC
square
#B246CC #CC6F46 #60CC46 #46A3CC
split-complementary
#B246CC #A3CC46 #46CC6F
monochromatic
#662177 #8F2EA7 #B246CC #C676D9 #DAA6E6

Accessibility & contrast

On white

4.52
#B246CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B246CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B246CC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246CC#FFFFFF#000000##000000
##B246CC1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#176FD0
Deuteranopia (green-blind)
#4F7AC9
Tritanopia (blue-blind)
#B25E83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b246cc;
/* rgb */ color: rgb(178, 70, 204);
/* oklch */ color: oklch(59.4% 0.213 319.3);
Tailwind
colors: {
  custom: {
    50: '#cc81dc',
    500: '#b246cc',
    950: '#000000',
  },
}
SCSS
$custom: #b246cc;
$custom-light: #cc81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b246cc",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 288.358,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59382,
    "c": 0.21296,
    "h": 319.3
  },
  "luminance": 0.18205
}

Semantic roles & 50–950 ramp

primary
#B246CC
secondary
#A5D49A
accent
#E04865
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B246CC

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

Preview Lab → · Contrast checker → · Palette generator →

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