#B458CB#B458CB

#B458CB is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.7% C 0.188 H 319.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B458CB
RGBrgb(180, 88, 203)
HSLhsl(288, 53%, 57%)
HSVhsv(288, 57%, 80%)
CMYKcmyk(11.3%, 56.7%, 0%, 20.4%)
CIE-LABlab(52.95, 54.56, -44.00)
CIE-LCHlch(52.95, 70.09, 321.12°)
OKLaboklab(61.74% 0.142 -0.1225)
OKLCHoklch(61.74% 0.188 319.2)
XYZxyz(33.0902, 20.9959, 58.7979)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B458CB #6FCB58
analogous
#7B58CB #B458CB #CB58A9
triadic
#B458CB #CBB458 #58CBB4
tetradic
#B458CB #CB7B58 #6FCB58 #58A9CB
square
#B458CB #CB7B58 #6FCB58 #58A9CB
split-complementary
#B458CB #A9CB58 #58CB7B
monochromatic
#6F2881 #9737AF #B458CB #C987DA #DEB5E8

Accessibility & contrast

On white

4.04
#B458CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B458CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B458CB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B458CB#FFFFFF#000000##000000
##B458CB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78CF
Deuteranopia (green-blind)
#5F82C8
Tritanopia (blue-blind)
#B46A89
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b458cb;
/* rgb */ color: rgb(180, 88, 203);
/* oklch */ color: oklch(61.7% 0.188 319.2);
Tailwind
colors: {
  custom: {
    50: '#cd8bdb',
    500: '#b458cb',
    950: '#000000',
  },
}
SCSS
$custom: #b458cb;
$custom-light: #cd8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b458cb",
  "rgb": {
    "r": 180,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 288,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61744,
    "c": 0.18753,
    "h": 319.2
  },
  "luminance": 0.20995
}

Semantic roles & 50–950 ramp

primary
#B458CB
secondary
#B1D7A8
accent
#DC4C69
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B458CB

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

Preview Lab → · Contrast checker → · Palette generator →

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