#B258B3#B258B3

#B258B3 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.2% C 0.163 H 327.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B258B3
RGBrgb(178, 88, 179)
HSLhsl(299, 37%, 52%)
HSVhsv(299, 51%, 70%)
CMYKcmyk(0.6%, 50.8%, 0%, 29.8%)
CIE-LABlab(51.50, 49.44, -32.45)
CIE-LCHlch(51.50, 59.14, 326.72°)
OKLaboklab(60.24% 0.1371 -0.0891)
OKLCHoklch(60.24% 0.163 327)
XYZxyz(29.9860, 19.7007, 44.8623)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258B3 #59B358
analogous
#8558B3 #B258B3 #B35886
triadic
#B258B3 #B3B258 #58B3B2
tetradic
#B258B3 #B38558 #59B358 #5886B3
square
#B258B3 #B38558 #59B358 #5886B3
split-complementary
#B258B3 #86B358 #58B385
monochromatic
#632D63 #8D408D #B258B3 #C582C6 #D9ACD9

Accessibility & contrast

On white

4.25
#B258B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B258B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258B3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258B3#FFFFFF#000000##000000
##B258B31.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B6
Deuteranopia (green-blind)
#6A7FB0
Tritanopia (blue-blind)
#B7627D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b258b3;
/* rgb */ color: rgb(178, 88, 179);
/* oklch */ color: oklch(60.2% 0.163 327.0);
Tailwind
colors: {
  custom: {
    50: '#cb8bca',
    500: '#b258b3',
    950: '#000000',
  },
}
SCSS
$custom: #b258b3;
$custom-light: #cb8bca;
$custom-dark: #000000;
JSON
{
  "hex": "#b258b3",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 179
  },
  "hsl": {
    "h": 299.341,
    "s": 37.449,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60239,
    "c": 0.16349,
    "h": 327
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#B258B3
secondary
#A0C7A0
accent
#CD5A5C
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B258B3

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

Preview Lab → · Contrast checker → · Palette generator →

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