#B243A7#B243A7

#B243A7 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.0% C 0.185 H 331.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B243A7
RGBrgb(178, 67, 167)
HSLhsl(306, 45%, 48%)
HSVhsv(306, 62%, 70%)
CMYKcmyk(0%, 62.4%, 6.2%, 30.2%)
CIE-LABlab(47.33, 57.10, -31.94)
CIE-LCHlch(47.33, 65.42, 330.78°)
OKLaboklab(57% 0.1632 -0.0875)
OKLCHoklch(57% 0.185 331.8)
XYZxyz(27.3423, 16.2713, 38.2523)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B243A7 #43B24E
analogous
#8543B2 #B243A7 #B2436F
triadic
#B243A7 #A7B243 #43A7B2
tetradic
#B243A7 #B28543 #43B24E #436FB2
square
#B243A7 #B28543 #43B24E #436FB2
split-complementary
#B243A7 #6FB243 #43B285
monochromatic
#592254 #86327D #B243A7 #C76BBE #D897D2

Accessibility & contrast

On white

4.94
#B243A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B243A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B243A7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B243A7#FFFFFF#000000##FFFFFF
##B243A71.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E66AA
Deuteranopia (green-blind)
#6376A4
Tritanopia (blue-blind)
#B94D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b243a7;
/* rgb */ color: rgb(178, 67, 167);
/* oklch */ color: oklch(57.0% 0.185 331.8);
Tailwind
colors: {
  custom: {
    50: '#cc7ec1',
    500: '#b243a7',
    950: '#000000',
  },
}
SCSS
$custom: #b243a7;
$custom-light: #cc7ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#b243a7",
  "rgb": {
    "r": 178,
    "g": 67,
    "b": 167
  },
  "hsl": {
    "h": 305.946,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56997,
    "c": 0.18521,
    "h": 331.8
  },
  "luminance": 0.16269
}

Semantic roles & 50–950 ramp

primary
#B243A7
secondary
#8DC492
accent
#D56053
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B243A7

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

Preview Lab → · Contrast checker → · Palette generator →

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