#B027B3#B027B3

#B027B3 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.226 H 327.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B027B3
RGBrgb(176, 39, 179)
HSLhsl(299, 64%, 43%)
HSVhsv(299, 78%, 70%)
CMYKcmyk(1.7%, 78.2%, 0%, 29.8%)
CIE-LABlab(44.14, 68.49, -44.08)
CIE-LCHlch(44.14, 81.45, 327.24°)
OKLaboklab(54.85% 0.1897 -0.1225)
OKLCHoklch(54.85% 0.226 327.2)
XYZxyz(26.7663, 13.9378, 43.9196)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B027B3 #2AB327
analogous
#6A27B3 #B027B3 #B32770
triadic
#B027B3 #B3B027 #27B3B0
tetradic
#B027B3 #B36A27 #2AB327 #2770B3
square
#B027B3 #B36A27 #2AB327 #2770B3
split-complementary
#B027B3 #70B327 #27B36A
monochromatic
#4D114E #7F1C81 #B027B3 #D341D6 #DE74E1

Accessibility & contrast

On white

5.54
#B027B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B027B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B027B3
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B027B3#FFFFFF#000000##FFFFFF
##B027B31.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#4D6EB0
Tritanopia (blue-blind)
#B5406D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b027b3;
/* rgb */ color: rgb(176, 39, 179);
/* oklch */ color: oklch(54.8% 0.226 327.2);
Tailwind
colors: {
  custom: {
    50: '#cc72ca',
    500: '#b027b3',
    950: '#000000',
  },
}
SCSS
$custom: #b027b3;
$custom-light: #cc72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b027b3",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 298.714,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54848,
    "c": 0.22583,
    "h": 327.2
  },
  "luminance": 0.13936
}

Semantic roles & 50–950 ramp

primary
#B027B3
secondary
#70C86E
accent
#E74144
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B027B3

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

Preview Lab → · Contrast checker → · Palette generator →

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