#B246D4#B246D4

#B246D4 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.220 H 317.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B246D4
RGBrgb(178, 70, 212)
HSLhsl(286, 62%, 55%)
HSVhsv(286, 67%, 83%)
CMYKcmyk(16%, 67%, 0%, 16.9%)
CIE-LABlab(50.22, 63.98, -53.50)
CIE-LCHlch(50.22, 83.40, 320.10°)
OKLaboklab(59.87% 0.1611 -0.1502)
OKLCHoklch(59.87% 0.22 317)
XYZxyz(32.4322, 18.6001, 64.1564)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246D4 #68D446
analogous
#6B46D4 #B246D4 #D446AF
triadic
#B246D4 #D4B246 #46D4B2
tetradic
#B246D4 #D46B46 #68D446 #46AFD4
square
#B246D4 #D46B46 #68D446 #46AFD4
split-complementary
#B246D4 #AFD446 #46D46B
monochromatic
#6A1E81 #922AB3 #B246D4 #C778E0 #DBA9EB

Accessibility & contrast

On white

4.45
#B246D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B246D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B246D4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246D4#FFFFFF#000000##000000
##B246D41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#497BD1
Tritanopia (blue-blind)
#B06188
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b246d4;
/* rgb */ color: rgb(178, 70, 212);
/* oklch */ color: oklch(59.9% 0.220 317.0);
Tailwind
colors: {
  custom: {
    50: '#cd81e2',
    500: '#b246d4',
    950: '#000000',
  },
}
SCSS
$custom: #b246d4;
$custom-light: #cd81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b246d4",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 285.634,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59872,
    "c": 0.22023,
    "h": 317
  },
  "luminance": 0.18599
}

Semantic roles & 50–950 ramp

primary
#B246D4
secondary
#ABD99D
accent
#E54269
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B246D4

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

Preview Lab → · Contrast checker → · Palette generator →

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