#B025B2#B025B2

#B025B2 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.7% C 0.227 H 327.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B025B2
RGBrgb(176, 37, 178)
HSLhsl(299, 66%, 42%)
HSVhsv(299, 79%, 70%)
CMYKcmyk(1.1%, 79.2%, 0%, 30.2%)
CIE-LABlab(43.90, 68.87, -43.87)
CIE-LCHlch(43.90, 81.66, 327.50°)
OKLaboklab(54.66% 0.1913 -0.1219)
OKLCHoklch(54.66% 0.227 327.5)
XYZxyz(26.6016, 13.7696, 43.3675)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B025B2 #27B225
analogous
#6A25B2 #B025B2 #B2256E
triadic
#B025B2 #B2B025 #25B2B0
tetradic
#B025B2 #B26A25 #27B225 #256EB2
square
#B025B2 #B26A25 #27B225 #256EB2
split-complementary
#B025B2 #6EB225 #25B26A
monochromatic
#4C104D #7E1A7F #B025B2 #D53DD7 #E070E1

Accessibility & contrast

On white

5.59
#B025B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B025B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B025B2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B025B2#FFFFFF#000000##FFFFFF
##B025B21.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#4D6EAF
Tritanopia (blue-blind)
#B53E6C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b025b2;
/* rgb */ color: rgb(176, 37, 178);
/* oklch */ color: oklch(54.7% 0.227 327.5);
Tailwind
colors: {
  custom: {
    50: '#cc71c9',
    500: '#b025b2',
    950: '#000000',
  },
}
SCSS
$custom: #b025b2;
$custom-light: #cc71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b025b2",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 299.149,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54656,
    "c": 0.22681,
    "h": 327.5
  },
  "luminance": 0.13768
}

Semantic roles & 50–950 ramp

primary
#B025B2
secondary
#6CC86B
accent
#E93F42
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B025B2

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

Preview Lab → · Contrast checker → · Palette generator →

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