#B023AF#B023AF

#B023AF is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.4% C 0.226 H 328.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B023AF
RGBrgb(176, 35, 175)
HSLhsl(300, 67%, 41%)
HSVhsv(300, 80%, 69%)
CMYKcmyk(0%, 80.1%, 0.6%, 31%)
CIE-LABlab(43.55, 68.90, -42.66)
CIE-LCHlch(43.55, 81.04, 328.24°)
OKLaboklab(54.35% 0.1929 -0.1183)
OKLCHoklch(54.35% 0.226 328.5)
XYZxyz(26.2431, 13.5293, 41.7784)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B023AF #23B024
analogous
#6B23B0 #B023AF #B02369
triadic
#B023AF #AFB023 #23AFB0
tetradic
#B023AF #B06B23 #23B024 #2369B0
square
#B023AF #B06B23 #23B024 #2369B0
split-complementary
#B023AF #69B023 #23B06B
monochromatic
#4A0F49 #7D197C #B023AF #D839D6 #E26CE1

Accessibility & contrast

On white

5.67
#B023AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B023AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B023AF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B023AF#FFFFFF#000000##FFFFFF
##B023AF1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4E6DAC
Tritanopia (blue-blind)
#B63C6A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b023af;
/* rgb */ color: rgb(176, 35, 175);
/* oklch */ color: oklch(54.4% 0.226 328.5);
Tailwind
colors: {
  custom: {
    50: '#cc71c7',
    500: '#b023af',
    950: '#000000',
  },
}
SCSS
$custom: #b023af;
$custom-light: #cc71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b023af",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 300.426,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54352,
    "c": 0.22627,
    "h": 328.5
  },
  "luminance": 0.13527
}

Semantic roles & 50–950 ramp

primary
#B023AF
secondary
#67C868
accent
#EA3F3E
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B023AF

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

Preview Lab → · Contrast checker → · Palette generator →

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