#B02FAF#B02FAF

#B02FAF is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.215 H 328.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B02FAF
RGBrgb(176, 47, 175)
HSLhsl(300, 58%, 44%)
HSVhsv(300, 73%, 69%)
CMYKcmyk(0%, 73.3%, 0.6%, 31%)
CIE-LABlab(44.75, 65.46, -40.76)
CIE-LCHlch(44.75, 77.11, 328.09°)
OKLaboklab(55.2% 0.1831 -0.1129)
OKLCHoklch(55.2% 0.215 328.3)
XYZxyz(26.6586, 14.3602, 41.9168)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FAF #2FB030
analogous
#702FB0 #B02FAF #B02F6E
triadic
#B02FAF #AFB02F #2FAFB0
tetradic
#B02FAF #B0702F #2FB030 #2F6EB0
square
#B02FAF #B0702F #2FB030 #2F6EB0
split-complementary
#B02FAF #6EB02F #2FB070
monochromatic
#4F154F #80227F #B02FAF #CF4DCE #DC7DDC

Accessibility & contrast

On white

5.42
#B02FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B02FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02FAF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FAF#FFFFFF#000000##FFFFFF
##B02FAF1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#5370AC
Tritanopia (blue-blind)
#B6436D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b02faf;
/* rgb */ color: rgb(176, 47, 175);
/* oklch */ color: oklch(55.2% 0.215 328.3);
Tailwind
colors: {
  custom: {
    50: '#cb75c7',
    500: '#b02faf',
    950: '#000000',
  },
}
SCSS
$custom: #b02faf;
$custom-light: #cb75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b02faf",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 300.465,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55203,
    "c": 0.21509,
    "h": 328.3
  },
  "luminance": 0.14358
}

Semantic roles & 50–950 ramp

primary
#B02FAF
secondary
#76C576
accent
#E14847
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B02FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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