#B456CF#B456CF

#B456CF is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.7% C 0.194 H 318.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B456CF
RGBrgb(180, 86, 207)
HSLhsl(287, 56%, 57%)
HSVhsv(287, 58%, 81%)
CMYKcmyk(13%, 58.5%, 0%, 18.8%)
CIE-LABlab(52.80, 56.32, -46.51)
CIE-LCHlch(52.80, 73.04, 320.45°)
OKLaboklab(61.71% 0.1448 -0.1298)
OKLCHoklch(61.71% 0.194 318.1)
XYZxyz(33.4111, 20.8652, 61.2868)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B456CF #71CF56
analogous
#7856CF #B456CF #CF56AD
triadic
#B456CF #CFB456 #56CFB4
tetradic
#B456CF #CF7856 #71CF56 #56ADCF
square
#B456CF #CF7856 #71CF56 #56ADCF
split-complementary
#B456CF #ADCF56 #56CF78
monochromatic
#702685 #9833B5 #B456CF #C986DD #DEB5EA

Accessibility & contrast

On white

4.06
#B456CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B456CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B456CF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B456CF#FFFFFF#000000##000000
##B456CF1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3878D3
Deuteranopia (green-blind)
#5B81CC
Tritanopia (blue-blind)
#B46A8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b456cf;
/* rgb */ color: rgb(180, 86, 207);
/* oklch */ color: oklch(61.7% 0.194 318.1);
Tailwind
colors: {
  custom: {
    50: '#cd8ade',
    500: '#b456cf',
    950: '#000000',
  },
}
SCSS
$custom: #b456cf;
$custom-light: #cd8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#b456cf",
  "rgb": {
    "r": 180,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 286.612,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61708,
    "c": 0.19443,
    "h": 318.1
  },
  "luminance": 0.20864
}

Semantic roles & 50–950 ramp

primary
#B456CF
secondary
#B3D9A8
accent
#DF496A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B456CF

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

Preview Lab → · Contrast checker → · Palette generator →

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