#B230A7#B230A7

#B230A7 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.209 H 331.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B230A7
RGBrgb(178, 48, 167)
HSLhsl(305, 58%, 44%)
HSVhsv(305, 73%, 70%)
CMYKcmyk(0%, 73%, 6.2%, 30.2%)
CIE-LABlab(44.76, 64.30, -35.97)
CIE-LCHlch(44.76, 73.68, 330.78°)
OKLaboklab(55.14% 0.1841 -0.099)
OKLCHoklch(55.14% 0.209 331.7)
XYZxyz(26.3921, 14.3710, 37.9356)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230A7 #30B23B
analogous
#7C30B2 #B230A7 #B23066
triadic
#B230A7 #A7B230 #30A7B2
tetradic
#B230A7 #B27C30 #30B23B #3066B2
square
#B230A7 #B27C30 #30B23B #3066B2
split-complementary
#B230A7 #66B230 #30B27C
monochromatic
#52164D #82237A #B230A7 #D050C5 #DD80D5

Accessibility & contrast

On white

5.42
#B230A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B230A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230A7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230A7#FFFFFF#000000##FFFFFF
##B230A71.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265EAA
Deuteranopia (green-blind)
#5970A4
Tritanopia (blue-blind)
#B93F69
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b230a7;
/* rgb */ color: rgb(178, 48, 167);
/* oklch */ color: oklch(55.1% 0.209 331.7);
Tailwind
colors: {
  custom: {
    50: '#cd75c1',
    500: '#b230a7',
    950: '#000000',
  },
}
SCSS
$custom: #b230a7;
$custom-light: #cd75c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b230a7",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 305.077,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55139,
    "c": 0.20902,
    "h": 331.7
  },
  "luminance": 0.14369
}

Semantic roles & 50–950 ramp

primary
#B230A7
secondary
#78C67F
accent
#E15447
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B230A7

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

Preview Lab → · Contrast checker → · Palette generator →

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