#B02FA5#B02FA5

#B02FA5 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.208 H 331.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B02FA5
RGBrgb(176, 47, 165)
HSLhsl(305, 58%, 44%)
HSVhsv(305, 73%, 69%)
CMYKcmyk(0%, 73.3%, 6.2%, 31%)
CIE-LABlab(44.21, 63.86, -35.68)
CIE-LCHlch(44.21, 73.15, 330.81°)
OKLaboklab(54.64% 0.1829 -0.0982)
OKLCHoklch(54.64% 0.208 331.8)
XYZxyz(25.7126, 13.9818, 36.9345)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02FA5 #2FB03A
analogous
#7A2FB0 #B02FA5 #B02F64
triadic
#B02FA5 #A5B02F #2FA5B0
tetradic
#B02FA5 #B07A2F #2FB03A #2F64B0
square
#B02FA5 #B07A2F #2FB03A #2F64B0
split-complementary
#B02FA5 #64B02F #2FB07A
monochromatic
#4F154A #802278 #B02FA5 #CF4DC4 #DC7DD4

Accessibility & contrast

On white

5.53
#B02FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B02FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02FA5
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02FA5#FFFFFF#000000##FFFFFF
##B02FA51.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265DA8
Deuteranopia (green-blind)
#586FA2
Tritanopia (blue-blind)
#B73E67
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b02fa5;
/* rgb */ color: rgb(176, 47, 165);
/* oklch */ color: oklch(54.6% 0.208 331.8);
Tailwind
colors: {
  custom: {
    50: '#cb75c0',
    500: '#b02fa5',
    950: '#000000',
  },
}
SCSS
$custom: #b02fa5;
$custom-light: #cb75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b02fa5",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 305.116,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54644,
    "c": 0.20758,
    "h": 331.8
  },
  "luminance": 0.1398
}

Semantic roles & 50–950 ramp

primary
#B02FA5
secondary
#76C57D
accent
#E15447
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #B02FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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