#B646E7#B646E7

#B646E7 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.6% C 0.239 H 313.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B646E7
RGBrgb(182, 70, 231)
HSLhsl(282, 77%, 59%)
HSVhsv(282, 70%, 91%)
CMYKcmyk(21.2%, 69.7%, 0%, 9.4%)
CIE-LABlab(51.95, 68.57, -61.48)
CIE-LCHlch(51.95, 92.09, 318.12°)
OKLaboklab(61.6% 0.1645 -0.1734)
OKLCHoklch(61.6% 0.239 313.5)
XYZxyz(35.9029, 20.0960, 77.5735)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B646E7 #77E746
analogous
#6646E7 #B646E7 #E746C8
triadic
#B646E7 #E7B646 #46E7B6
tetradic
#B646E7 #E76646 #77E746 #46C8E7
square
#B646E7 #E76646 #77E746 #46C8E7
split-complementary
#B646E7 #C8E746 #46E766
monochromatic
#74159E #9C1CD4 #B646E7 #CB7CEE #E1B2F5

Accessibility & contrast

On white

4.18
#B646E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B646E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B646E7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B646E7#FFFFFF#000000##000000
##B646E71.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#3A7EE3
Tritanopia (blue-blind)
#B16892
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b646e7;
/* rgb */ color: rgb(182, 70, 231);
/* oklch */ color: oklch(61.6% 0.239 313.5);
Tailwind
colors: {
  custom: {
    50: '#d082ef',
    500: '#b646e7',
    950: '#000000',
  },
}
SCSS
$custom: #b646e7;
$custom-light: #d082ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b646e7",
  "rgb": {
    "r": 182,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 281.739,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61598,
    "c": 0.23903,
    "h": 313.5
  },
  "luminance": 0.20095
}

Semantic roles & 50–950 ramp

primary
#B646E7
secondary
#B8E4A5
accent
#F4346E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B646E7

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

Preview Lab → · Contrast checker → · Palette generator →

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