#B028CA#B028CA

#B028CA is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.4% C 0.243 H 320.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B028CA
RGBrgb(176, 40, 202)
HSLhsl(290, 67%, 47%)
HSVhsv(290, 80%, 79%)
CMYKcmyk(12.9%, 80.2%, 0%, 20.8%)
CIE-LABlab(45.65, 72.11, -55.10)
CIE-LCHlch(45.65, 90.75, 322.62°)
OKLaboklab(56.37% 0.1869 -0.1547)
OKLCHoklch(56.37% 0.243 320.4)
XYZxyz(29.3227, 15.0135, 57.2191)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B028CA #42CA28
analogous
#5F28CA #B028CA #CA2893
triadic
#B028CA #CAB028 #28CAB0
tetradic
#B028CA #CA5F28 #42CA28 #2893CA
square
#B028CA #CA5F28 #42CA28 #2893CA
split-complementary
#B028CA #93CA28 #28CA5F
monochromatic
#571464 #831E97 #B028CA #C752DD #D785E7

Accessibility & contrast

On white

5.25
#B028CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B028CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B028CA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B028CA#FFFFFF#000000##FFFFFF
##B028CA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#3B71C7
Tritanopia (blue-blind)
#B14C7A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b028ca;
/* rgb */ color: rgb(176, 40, 202);
/* oklch */ color: oklch(56.4% 0.243 320.4);
Tailwind
colors: {
  custom: {
    50: '#cc74db',
    500: '#b028ca',
    950: '#000000',
  },
}
SCSS
$custom: #b028ca;
$custom-light: #cc74db;
$custom-dark: #000000;
JSON
{
  "hex": "#b028ca",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 202
  },
  "hsl": {
    "h": 290.37,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56368,
    "c": 0.24258,
    "h": 320.4
  },
  "luminance": 0.15012
}

Semantic roles & 50–950 ramp

primary
#B028CA
secondary
#8BD07E
accent
#EA3E5A
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140915
muted
#837B83

Preview Lab

Preview with #B028CA

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

Preview Lab → · Contrast checker → · Palette generator →

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