#B225C6#B225C6

#B225C6 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.2% C 0.243 H 322.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B225C6
RGBrgb(178, 37, 198)
HSLhsl(293, 69%, 46%)
HSVhsv(293, 81%, 78%)
CMYKcmyk(10.1%, 81.3%, 0%, 22.4%)
CIE-LABlab(45.45, 72.55, -53.08)
CIE-LCHlch(45.45, 89.90, 323.81°)
OKLaboklab(56.21% 0.1917 -0.1487)
OKLCHoklch(56.21% 0.243 322.2)
XYZxyz(29.2136, 14.8671, 54.7460)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B225C6 #39C625
analogous
#6225C6 #B225C6 #C62589
triadic
#B225C6 #C6B225 #25C6B2
tetradic
#B225C6 #C66225 #39C625 #2589C6
square
#B225C6 #C66225 #39C625 #2589C6
split-complementary
#B225C6 #89C625 #25C662
monochromatic
#55125F #841B92 #B225C6 #CB4BDD #DA7EE7

Accessibility & contrast

On white

5.29
#B225C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B225C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B225C6
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B225C6#FFFFFF#000000##FFFFFF
##B225C61.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#4071C3
Tritanopia (blue-blind)
#B44878
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b225c6;
/* rgb */ color: rgb(178, 37, 198);
/* oklch */ color: oklch(56.2% 0.243 322.2);
Tailwind
colors: {
  custom: {
    50: '#ce73d8',
    500: '#b225c6',
    950: '#000000',
  },
}
SCSS
$custom: #b225c6;
$custom-light: #ce73d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b225c6",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 292.547,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56207,
    "c": 0.24263,
    "h": 322.2
  },
  "luminance": 0.14865
}

Semantic roles & 50–950 ramp

primary
#B225C6
secondary
#82CF77
accent
#EB3C52
background
#FDF7FD
surface
#FAEDFA
border
#D3C8D3
text
#140914
muted
#837B83

Preview Lab

Preview with #B225C6

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

Preview Lab → · Contrast checker → · Palette generator →

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