#B258CF#B258CF

#B258CF is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.7% C 0.191 H 317.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B258CF
RGBrgb(178, 88, 207)
HSLhsl(285, 55%, 58%)
HSVhsv(285, 57%, 81%)
CMYKcmyk(14%, 57.5%, 0%, 18.8%)
CIE-LABlab(52.90, 54.85, -46.38)
CIE-LCHlch(52.90, 71.83, 319.79°)
OKLaboklab(61.72% 0.1398 -0.1294)
OKLCHoklch(61.72% 0.191 317.2)
XYZxyz(33.1107, 20.9506, 61.3191)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B258CF #75CF58
analogous
#7658CF #B258CF #CF58B1
triadic
#B258CF #CFB258 #58CFB2
tetradic
#B258CF #CF7658 #75CF58 #58B1CF
square
#B258CF #CF7658 #75CF58 #58B1CF
split-complementary
#B258CF #B1CF58 #58CF76
monochromatic
#6F2786 #9634B6 #B258CF #C888DD #DEB7EA

Accessibility & contrast

On white

4.05
#B258CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B258CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B258CF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B258CF#FFFFFF#000000##000000
##B258CF1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A79D3
Deuteranopia (green-blind)
#5B81CC
Tritanopia (blue-blind)
#B16B8B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b258cf;
/* rgb */ color: rgb(178, 88, 207);
/* oklch */ color: oklch(61.7% 0.191 317.2);
Tailwind
colors: {
  custom: {
    50: '#cc8bde',
    500: '#b258cf',
    950: '#000000',
  },
}
SCSS
$custom: #b258cf;
$custom-light: #cc8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#b258cf",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 285.378,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61721,
    "c": 0.19056,
    "h": 317.2
  },
  "luminance": 0.20949
}

Semantic roles & 50–950 ramp

primary
#B258CF
secondary
#B5D9AA
accent
#DF496E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B258CF

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

Preview Lab → · Contrast checker → · Palette generator →

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