#B246CB#B246CB

#B246CB is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.212 H 319.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B246CB
RGBrgb(178, 70, 203)
HSLhsl(289, 56%, 54%)
HSVhsv(289, 66%, 80%)
CMYKcmyk(12.3%, 65.5%, 0%, 20.4%)
CIE-LABlab(49.69, 62.25, -49.19)
CIE-LCHlch(49.69, 79.34, 321.68°)
OKLaboklab(59.32% 0.1614 -0.1375)
OKLCHoklch(59.32% 0.212 319.6)
XYZxyz(31.3284, 18.1586, 58.3431)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246CB #5FCB46
analogous
#6F46CB #B246CB #CB46A1
triadic
#B246CB #CBB246 #46CBB2
tetradic
#B246CB #CB6F46 #5FCB46 #46A1CB
square
#B246CB #CB6F46 #5FCB46 #46A1CB
split-complementary
#B246CB #A1CB46 #46CB6F
monochromatic
#662176 #8F2EA5 #B246CB #C676D8 #DAA6E6

Accessibility & contrast

On white

4.53
#B246CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#B246CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B246CB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246CB#FFFFFF#000000##000000
##B246CB1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#196FCF
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#B25D83
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b246cb;
/* rgb */ color: rgb(178, 70, 203);
/* oklch */ color: oklch(59.3% 0.212 319.6);
Tailwind
colors: {
  custom: {
    50: '#cc81db',
    500: '#b246cb',
    950: '#000000',
  },
}
SCSS
$custom: #b246cb;
$custom-light: #cc81db;
$custom-dark: #000000;
JSON
{
  "hex": "#b246cb",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 288.722,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59322,
    "c": 0.21205,
    "h": 319.6
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

primary
#B246CB
secondary
#A5D39A
accent
#DF4865
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B246CB

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

Preview Lab → · Contrast checker → · Palette generator →

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