#B628B2#B628B2

#B628B2 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.8% C 0.227 H 329.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B628B2
RGBrgb(182, 40, 178)
HSLhsl(302, 64%, 44%)
HSVhsv(302, 78%, 71%)
CMYKcmyk(0%, 78%, 2.2%, 28.6%)
CIE-LABlab(45.19, 69.28, -41.76)
CIE-LCHlch(45.19, 80.89, 328.92°)
OKLaboklab(55.77% 0.1953 -0.1156)
OKLCHoklch(55.77% 0.227 329.4)
XYZxyz(28.0859, 14.6792, 43.4650)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628B2 #28B62C
analogous
#7328B6 #B628B2 #B6286B
triadic
#B628B2 #B2B628 #28B2B6
tetradic
#B628B2 #B67328 #28B62C #286BB6
square
#B628B2 #B67328 #28B62C #286BB6
split-complementary
#B628B2 #6BB628 #28B673
monochromatic
#521250 #841D81 #B628B2 #D645D2 #E177DE

Accessibility & contrast

On white

5.34
#B628B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B628B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B628B2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628B2#FFFFFF#000000##FFFFFF
##B628B21.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085FB6
Deuteranopia (green-blind)
#5471AF
Tritanopia (blue-blind)
#BD3E6D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b628b2;
/* rgb */ color: rgb(182, 40, 178);
/* oklch */ color: oklch(55.8% 0.227 329.4);
Tailwind
colors: {
  custom: {
    50: '#d073c9',
    500: '#b628b2',
    950: '#000000',
  },
}
SCSS
$custom: #b628b2;
$custom-light: #d073c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b628b2",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 301.69,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55767,
    "c": 0.2269,
    "h": 329.4
  },
  "luminance": 0.14677
}

Semantic roles & 50–950 ramp

primary
#B628B2
secondary
#71C973
accent
#E74641
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B628B2

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

Preview Lab → · Contrast checker → · Palette generator →

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