#B258CE#B258CE

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

Color values

HEX#B258CE
RGBrgb(178, 88, 206)
HSLhsl(286, 55%, 58%)
HSVhsv(286, 57%, 81%)
CMYKcmyk(13.6%, 57.3%, 0%, 19.2%)
CIE-LABlab(52.84, 54.65, -45.89)
CIE-LCHlch(52.84, 71.36, 319.98°)
OKLaboklab(61.67% 0.1398 -0.128)
OKLCHoklch(61.67% 0.19 317.5)
XYZxyz(32.9888, 20.9019, 60.6773)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258CE #74CE58
analogous
#7758CE #B258CE #CE58AF
triadic
#B258CE #CEB258 #58CEB2
tetradic
#B258CE #CE7758 #74CE58 #58AFCE
square
#B258CE #CE7758 #74CE58 #58AFCE
split-complementary
#B258CE #AFCE58 #58CE77
monochromatic
#6E2785 #9635B4 #B258CE #C887DC #DEB7EA

Accessibility & contrast

On white

4.05
#B258CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B258CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258CE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258CE#FFFFFF#000000##000000
##B258CE1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D2
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#B16B8B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b258ce;
/* rgb */ color: rgb(178, 88, 206);
/* oklch */ color: oklch(61.7% 0.190 317.5);
Tailwind
colors: {
  custom: {
    50: '#cc8bdd',
    500: '#b258ce',
    950: '#000000',
  },
}
SCSS
$custom: #b258ce;
$custom-light: #cc8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b258ce",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 285.763,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61665,
    "c": 0.18957,
    "h": 317.5
  },
  "luminance": 0.20901
}

Semantic roles & 50–950 ramp

primary
#B258CE
secondary
#B4D9A9
accent
#DE4A6D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B258CE

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

Preview Lab → · Contrast checker → · Palette generator →

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