#B246DF#B246DF

#B246DF is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.6% C 0.230 H 314.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B246DF
RGBrgb(178, 70, 223)
HSLhsl(282, 71%, 57%)
HSVhsv(282, 69%, 87%)
CMYKcmyk(20.2%, 68.6%, 0%, 12.5%)
CIE-LABlab(50.89, 66.15, -58.68)
CIE-LCHlch(50.89, 88.43, 318.42°)
OKLaboklab(60.57% 0.1604 -0.1653)
OKLCHoklch(60.57% 0.23 314.1)
XYZxyz(33.8673, 19.1741, 71.7147)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246DF #73DF46
analogous
#6646DF #B246DF #DF46BF
triadic
#B246DF #DFB246 #46DFB2
tetradic
#B246DF #DF6646 #73DF46 #46BFDF
square
#B246DF #DF6646 #73DF46 #46BFDF
split-complementary
#B246DF #BFDF46 #46DF66
monochromatic
#6E1991 #9622C6 #B246DF #C87AE8 #DDAEF1

Accessibility & contrast

On white

4.34
#B246DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B246DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B246DF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246DF#FFFFFF#000000##000000
##B246DF1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#3E7CDC
Tritanopia (blue-blind)
#AE658E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b246df;
/* rgb */ color: rgb(178, 70, 223);
/* oklch */ color: oklch(60.6% 0.230 314.1);
Tailwind
colors: {
  custom: {
    50: '#cd82ea',
    500: '#b246df',
    950: '#000000',
  },
}
SCSS
$custom: #b246df;
$custom-light: #cd82ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b246df",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 282.353,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6057,
    "c": 0.23033,
    "h": 314.1
  },
  "luminance": 0.19173
}

Semantic roles & 50–950 ramp

primary
#B246DF
secondary
#B4DFA2
accent
#ED3B6F
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B246DF

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

Preview Lab → · Contrast checker → · Palette generator →

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