#B258BE#B258BE

#B258BE is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.8% C 0.174 H 322.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B258BE
RGBrgb(178, 88, 190)
HSLhsl(293, 44%, 55%)
HSVhsv(293, 54%, 75%)
CMYKcmyk(6.3%, 53.7%, 0%, 25.5%)
CIE-LABlab(52.02, 51.51, -38.00)
CIE-LCHlch(52.02, 64.01, 323.58°)
OKLaboklab(60.8% 0.1385 -0.1051)
OKLCHoklch(60.8% 0.174 322.8)
XYZxyz(31.1431, 20.1636, 50.9567)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258BE #64BE58
analogous
#7F58BE #B258BE #BE5897
triadic
#B258BE #BEB258 #58BEB2
tetradic
#B258BE #BE7F58 #64BE58 #5897BE
square
#B258BE #BE7F58 #64BE58 #5897BE
split-complementary
#B258BE #97BE58 #58BE7F
monochromatic
#682C70 #913D9C #B258BE #C684CF #DBB0E0

Accessibility & contrast

On white

4.17
#B258BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B258BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258BE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258BE#FFFFFF#000000##000000
##B258BE1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4875C1
Deuteranopia (green-blind)
#6580BB
Tritanopia (blue-blind)
#B56683
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b258be;
/* rgb */ color: rgb(178, 88, 190);
/* oklch */ color: oklch(60.8% 0.174 322.8);
Tailwind
colors: {
  custom: {
    50: '#cb8bd2',
    500: '#b258be',
    950: '#000000',
  },
}
SCSS
$custom: #b258be;
$custom-light: #cb8bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#b258be",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 292.941,
    "s": 43.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60797,
    "c": 0.17388,
    "h": 322.8
  },
  "luminance": 0.20162
}

Semantic roles & 50–950 ramp

primary
#B258BE
secondary
#A8CEA3
accent
#D45463
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B258BE

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

Preview Lab → · Contrast checker → · Palette generator →

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