#B258CD#B258CD

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

Color values

HEX#B258CD
RGBrgb(178, 88, 205)
HSLhsl(286, 54%, 57%)
HSVhsv(286, 57%, 80%)
CMYKcmyk(13.2%, 57.1%, 0%, 19.6%)
CIE-LABlab(52.79, 54.45, -45.40)
CIE-LCHlch(52.79, 70.89, 320.18°)
OKLaboklab(61.61% 0.1397 -0.1266)
OKLCHoklch(61.61% 0.189 317.8)
XYZxyz(32.8677, 20.8535, 60.0396)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258CD #73CD58
analogous
#7858CD #B258CD #CD58AD
triadic
#B258CD #CDB258 #58CDB2
tetradic
#B258CD #CD7858 #73CD58 #58ADCD
square
#B258CD #CD7858 #73CD58 #58ADCD
split-complementary
#B258CD #ADCD58 #58CD78
monochromatic
#6E2783 #9635B2 #B258CD #C887DB #DDB6E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B258CD#FFFFFF#000000##000000
##B258CD1.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)
#3C78D1
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#B16B8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b258cd;
/* rgb */ color: rgb(178, 88, 205);
/* oklch */ color: oklch(61.6% 0.189 317.8);
Tailwind
colors: {
  custom: {
    50: '#cc8bdd',
    500: '#b258cd',
    950: '#000000',
  },
}
SCSS
$custom: #b258cd;
$custom-light: #cc8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b258cd",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 286.154,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61608,
    "c": 0.18857,
    "h": 317.8
  },
  "luminance": 0.20852
}

Semantic roles & 50–950 ramp

primary
#B258CD
secondary
#B4D8A9
accent
#DD4B6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B258CD

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

Preview Lab → · Contrast checker → · Palette generator →

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