#B258AA#B258AA

#B258AA is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.8% C 0.155 H 330.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B258AA
RGBrgb(178, 88, 170)
HSLhsl(305, 37%, 52%)
HSVhsv(305, 51%, 70%)
CMYKcmyk(0%, 50.6%, 4.5%, 30.2%)
CIE-LABlab(51.09, 47.82, -27.83)
CIE-LCHlch(51.09, 55.33, 329.80°)
OKLaboklab(59.81% 0.1355 -0.0759)
OKLCHoklch(59.81% 0.155 330.7)
XYZxyz(29.1053, 19.3485, 40.2240)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258AA #58B260
analogous
#8D58B2 #B258AA #B2587D
triadic
#B258AA #AAB258 #58AAB2
tetradic
#B258AA #B28D58 #58B260 #587DB2
square
#B258AA #B28D58 #58B260 #587DB2
split-complementary
#B258AA #7DB258 #58B28D
monochromatic
#622D5E #8C4185 #B258AA #C582BF #D9ACD5

Accessibility & contrast

On white

4.31
#B258AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B258AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258AA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258AA#FFFFFF#000000##000000
##B258AA1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5472AD
Deuteranopia (green-blind)
#6E7EA7
Tritanopia (blue-blind)
#B85F79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b258aa;
/* rgb */ color: rgb(178, 88, 170);
/* oklch */ color: oklch(59.8% 0.155 330.7);
Tailwind
colors: {
  custom: {
    50: '#cb8bc3',
    500: '#b258aa',
    950: '#000000',
  },
}
SCSS
$custom: #b258aa;
$custom-light: #cb8bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b258aa",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 305.333,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59808,
    "c": 0.15536,
    "h": 330.7
  },
  "luminance": 0.19347
}

Semantic roles & 50–950 ramp

primary
#B258AA
secondary
#9FC7A3
accent
#CD655B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B258AA

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

Preview Lab → · Contrast checker → · Palette generator →

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