#B023A7#B023A7

#B023A7 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.221 H 331.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B023A7
RGBrgb(176, 35, 167)
HSLhsl(304, 67%, 41%)
HSVhsv(304, 80%, 69%)
CMYKcmyk(0%, 80.1%, 5.1%, 31%)
CIE-LABlab(43.10, 67.66, -38.62)
CIE-LCHlch(43.10, 77.91, 330.28°)
OKLaboklab(53.89% 0.1931 -0.1066)
OKLCHoklch(53.89% 0.221 331.1)
XYZxyz(25.4806, 13.2243, 37.7623)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B023A7 #23B02C
analogous
#7323B0 #B023A7 #B02361
triadic
#B023A7 #A7B023 #23A7B0
tetradic
#B023A7 #B07323 #23B02C #2361B0
square
#B023A7 #B07323 #23B02C #2361B0
split-complementary
#B023A7 #61B023 #23B073
monochromatic
#4A0F46 #7D1977 #B023A7 #D839CD #E26CDA

Accessibility & contrast

On white

5.76
#B023A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B023A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B023A7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B023A7#FFFFFF#000000##FFFFFF
##B023A71.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5AAA
Deuteranopia (green-blind)
#536CA4
Tritanopia (blue-blind)
#B73765
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b023a7;
/* rgb */ color: rgb(176, 35, 167);
/* oklch */ color: oklch(53.9% 0.221 331.1);
Tailwind
colors: {
  custom: {
    50: '#cc70c1',
    500: '#b023a7',
    950: '#000000',
  },
}
SCSS
$custom: #b023a7;
$custom-light: #cc70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b023a7",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 303.83,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53886,
    "c": 0.22052,
    "h": 331.1
  },
  "luminance": 0.13222
}

Semantic roles & 50–950 ramp

primary
#B023A7
secondary
#67C86D
accent
#EA493E
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B023A7

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

Preview Lab → · Contrast checker → · Palette generator →

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