#B258BC#B258BC

#B258BC is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.7% C 0.172 H 323.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B258BC
RGBrgb(178, 88, 188)
HSLhsl(294, 43%, 54%)
HSVhsv(294, 53%, 74%)
CMYKcmyk(5.3%, 53.2%, 0%, 26.3%)
CIE-LABlab(51.92, 51.12, -37.00)
CIE-LCHlch(51.92, 63.11, 324.11°)
OKLaboklab(60.69% 0.1383 -0.1022)
OKLCHoklch(60.69% 0.172 323.5)
XYZxyz(30.9261, 20.0768, 49.8134)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258BC #62BC58
analogous
#8058BC #B258BC #BC5894
triadic
#B258BC #BCB258 #58BCB2
tetradic
#B258BC #BC8058 #62BC58 #5894BC
square
#B258BC #BC8058 #62BC58 #5894BC
split-complementary
#B258BC #94BC58 #58BC80
monochromatic
#672C6E #903E99 #B258BC #C684CE #DAAFDF

Accessibility & contrast

On white

4.19
#B258BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B258BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258BC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258BC#FFFFFF#000000##000000
##B258BC1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975BF
Deuteranopia (green-blind)
#6680B9
Tritanopia (blue-blind)
#B56582
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b258bc;
/* rgb */ color: rgb(178, 88, 188);
/* oklch */ color: oklch(60.7% 0.172 323.5);
Tailwind
colors: {
  custom: {
    50: '#cb8bd0',
    500: '#b258bc',
    950: '#000000',
  },
}
SCSS
$custom: #b258bc;
$custom-light: #cb8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b258bc",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 294,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60693,
    "c": 0.17196,
    "h": 323.5
  },
  "luminance": 0.20075
}

Semantic roles & 50–950 ramp

primary
#B258BC
secondary
#A7CDA3
accent
#D35562
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B258BC

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

Preview Lab → · Contrast checker → · Palette generator →

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