#B258AF#B258AF

#B258AF is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.0% C 0.160 H 328.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B258AF
RGBrgb(178, 88, 175)
HSLhsl(302, 37%, 52%)
HSVhsv(302, 51%, 70%)
CMYKcmyk(0%, 50.6%, 1.7%, 30.2%)
CIE-LABlab(51.31, 48.72, -30.40)
CIE-LCHlch(51.31, 57.42, 328.03°)
OKLaboklab(60.05% 0.1364 -0.0833)
OKLCHoklch(60.05% 0.16 328.6)
XYZxyz(29.5873, 19.5413, 42.7625)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258AF #58B25B
analogous
#8858B2 #B258AF #B25882
triadic
#B258AF #AFB258 #58AFB2
tetradic
#B258AF #B28858 #58B25B #5882B2
square
#B258AF #B28858 #58B25B #5882B2
split-complementary
#B258AF #82B258 #58B288
monochromatic
#622D61 #8C418A #B258AF #C582C3 #D9ACD7

Accessibility & contrast

On white

4.28
#B258AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B258AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258AF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258AF#FFFFFF#000000##000000
##B258AF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5173B2
Deuteranopia (green-blind)
#6C7FAC
Tritanopia (blue-blind)
#B7617C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b258af;
/* rgb */ color: rgb(178, 88, 175);
/* oklch */ color: oklch(60.0% 0.160 328.6);
Tailwind
colors: {
  custom: {
    50: '#cb8bc7',
    500: '#b258af',
    950: '#000000',
  },
}
SCSS
$custom: #b258af;
$custom-light: #cb8bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b258af",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 302,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60045,
    "c": 0.15984,
    "h": 328.6
  },
  "luminance": 0.1954
}

Semantic roles & 50–950 ramp

primary
#B258AF
secondary
#9FC7A1
accent
#CD5F5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B258AF

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

Preview Lab → · Contrast checker → · Palette generator →

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