#B458C8#B458C8

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

Color values

HEX#B458C8
RGBrgb(180, 88, 200)
HSLhsl(289, 50%, 56%)
HSVhsv(289, 56%, 78%)
CMYKcmyk(10%, 56%, 0%, 21.6%)
CIE-LABlab(52.79, 53.98, -42.52)
CIE-LCHlch(52.79, 68.71, 321.77°)
OKLaboklab(61.58% 0.1418 -0.1182)
OKLCHoklch(61.58% 0.185 320.2)
XYZxyz(32.7362, 20.8543, 56.9333)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B458C8 #6CC858
analogous
#7C58C8 #B458C8 #C858A4
triadic
#B458C8 #C8B458 #58C8B4
tetradic
#B458C8 #C87C58 #6CC858 #58A4C8
square
#B458C8 #C87C58 #6CC858 #58A4C8
split-complementary
#B458C8 #A4C858 #58C87C
monochromatic
#6E297D #9638AB #B458C8 #C986D7 #DDB4E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B458C8#FFFFFF#000000##000000
##B458C81.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)
#4278CC
Deuteranopia (green-blind)
#6181C5
Tritanopia (blue-blind)
#B56988
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b458c8;
/* rgb */ color: rgb(180, 88, 200);
/* oklch */ color: oklch(61.6% 0.185 320.2);
Tailwind
colors: {
  custom: {
    50: '#cd8bd9',
    500: '#b458c8',
    950: '#000000',
  },
}
SCSS
$custom: #b458c8;
$custom-light: #cd8bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b458c8",
  "rgb": {
    "r": 180,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 289.286,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6158,
    "c": 0.18459,
    "h": 320.2
  },
  "luminance": 0.20853
}

Semantic roles & 50–950 ramp

primary
#B458C8
secondary
#AFD5A7
accent
#DA4E67
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B458C8

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

Preview Lab → · Contrast checker → · Palette generator →

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