#B246E7#B246E7

#B246E7 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.1% C 0.238 H 312.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B246E7
RGBrgb(178, 70, 231)
HSLhsl(280, 77%, 59%)
HSVhsv(280, 70%, 91%)
CMYKcmyk(22.9%, 69.7%, 0%, 9.4%)
CIE-LABlab(51.40, 67.77, -62.39)
CIE-LCHlch(51.40, 92.11, 317.37°)
OKLaboklab(61.1% 0.1596 -0.1762)
OKLCHoklch(61.1% 0.238 312.2)
XYZxyz(34.9714, 19.6158, 77.5298)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246E7 #7BE746
analogous
#6246E7 #B246E7 #E746CC
triadic
#B246E7 #E7B246 #46E7B2
tetradic
#B246E7 #E76246 #7BE746 #46CCE7
square
#B246E7 #E76246 #7BE746 #46CCE7
split-complementary
#B246E7 #CCE746 #46E762
monochromatic
#71159E #971CD4 #B246E7 #C97CEE #DFB2F5

Accessibility & contrast

On white

4.27
#B246E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B246E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B246E7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246E7#FFFFFF#000000##000000
##B246E71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#347DE3
Tritanopia (blue-blind)
#AC6992
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b246e7;
/* rgb */ color: rgb(178, 70, 231);
/* oklch */ color: oklch(61.1% 0.238 312.2);
Tailwind
colors: {
  custom: {
    50: '#ce82ef',
    500: '#b246e7',
    950: '#000000',
  },
}
SCSS
$custom: #b246e7;
$custom-light: #ce82ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b246e7",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 280.248,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61096,
    "c": 0.23772,
    "h": 312.2
  },
  "luminance": 0.19615
}

Semantic roles & 50–950 ramp

primary
#B246E7
secondary
#BAE4A5
accent
#F43473
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B246E7

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

Preview Lab → · Contrast checker → · Palette generator →

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