#B246E1#B246E1

#B246E1 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.232 H 313.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B246E1
RGBrgb(178, 70, 225)
HSLhsl(282, 72%, 58%)
HSVhsv(282, 69%, 88%)
CMYKcmyk(20.9%, 68.9%, 0%, 11.8%)
CIE-LABlab(51.02, 66.55, -59.61)
CIE-LCHlch(51.02, 89.35, 318.15°)
OKLaboklab(60.7% 0.1602 -0.1681)
OKLCHoklch(60.7% 0.232 313.6)
XYZxyz(34.1385, 19.2826, 73.1432)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246E1 #75E146
analogous
#6446E1 #B246E1 #E146C3
triadic
#B246E1 #E1B246 #46E1B2
tetradic
#B246E1 #E16446 #75E146 #46C3E1
square
#B246E1 #E16446 #75E146 #46C3E1
split-complementary
#B246E1 #C3E146 #46E164
monochromatic
#6F1895 #9621C9 #B246E1 #C87BEA #DEAFF2

Accessibility & contrast

On white

4.32
#B246E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B246E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B246E1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246E1#FFFFFF#000000##000000
##B246E11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#3C7CDE
Tritanopia (blue-blind)
#AD668F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b246e1;
/* rgb */ color: rgb(178, 70, 225);
/* oklch */ color: oklch(60.7% 0.232 313.6);
Tailwind
colors: {
  custom: {
    50: '#cd82eb',
    500: '#b246e1',
    950: '#000000',
  },
}
SCSS
$custom: #b246e1;
$custom-light: #cd82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b246e1",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 281.806,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.607,
    "c": 0.23217,
    "h": 313.6
  },
  "luminance": 0.19282
}

Semantic roles & 50–950 ramp

primary
#B246E1
secondary
#B5E0A2
accent
#EF3970
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B246E1

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

Preview Lab → · Contrast checker → · Palette generator →

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