#B02CAF#B02CAF

#B02CAF is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.218 H 328.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B02CAF
RGBrgb(176, 44, 175)
HSLhsl(300, 60%, 43%)
HSVhsv(300, 75%, 69%)
CMYKcmyk(0%, 75%, 0.6%, 31%)
CIE-LABlab(44.42, 66.40, -41.28)
CIE-LCHlch(44.42, 78.19, 328.13°)
OKLaboklab(54.97% 0.1858 -0.1144)
OKLCHoklch(54.97% 0.218 328.4)
XYZxyz(26.5428, 14.1286, 41.8782)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02CAF #2CB02D
analogous
#6F2CB0 #B02CAF #B02C6D
triadic
#B02CAF #AFB02C #2CAFB0
tetradic
#B02CAF #B06F2C #2CB02D #2C6DB0
square
#B02CAF #B06F2C #2CB02D #2C6DB0
split-complementary
#B02CAF #6DB02C #2CB06F
monochromatic
#4E144E #7F207E #B02CAF #D148D0 #DD79DD

Accessibility & contrast

On white

5.49
#B02CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B02CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02CAF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02CAF#FFFFFF#000000##FFFFFF
##B02CAF1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5EB3
Deuteranopia (green-blind)
#526FAC
Tritanopia (blue-blind)
#B6416C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b02caf;
/* rgb */ color: rgb(176, 44, 175);
/* oklch */ color: oklch(55.0% 0.218 328.4);
Tailwind
colors: {
  custom: {
    50: '#cb74c7',
    500: '#b02caf',
    950: '#000000',
  },
}
SCSS
$custom: #b02caf;
$custom-light: #cb74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b02caf",
  "rgb": {
    "r": 176,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 300.455,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54969,
    "c": 0.21815,
    "h": 328.4
  },
  "luminance": 0.14127
}

Semantic roles & 50–950 ramp

primary
#B02CAF
secondary
#72C673
accent
#E34645
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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