#B230AA#B230AA

#B230AA is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.211 H 330.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B230AA
RGBrgb(178, 48, 170)
HSLhsl(304, 58%, 44%)
HSVhsv(304, 73%, 70%)
CMYKcmyk(0%, 73%, 4.5%, 30.2%)
CIE-LABlab(44.92, 64.77, -37.50)
CIE-LCHlch(44.92, 74.85, 329.93°)
OKLaboklab(55.3% 0.1842 -0.1034)
OKLCHoklch(55.3% 0.211 330.7)
XYZxyz(26.6727, 14.4833, 39.4132)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230AA #30B238
analogous
#7930B2 #B230AA #B23069
triadic
#B230AA #AAB230 #30AAB2
tetradic
#B230AA #B27930 #30B238 #3069B2
square
#B230AA #B27930 #30B238 #3069B2
split-complementary
#B230AA #69B230 #30B279
monochromatic
#52164E #82237C #B230AA #D050C8 #DD80D7

Accessibility & contrast

On white

5.39
#B230AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B230AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230AA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230AA#FFFFFF#000000##FFFFFF
##B230AA1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAD
Deuteranopia (green-blind)
#5871A7
Tritanopia (blue-blind)
#B9406A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b230aa;
/* rgb */ color: rgb(178, 48, 170);
/* oklch */ color: oklch(55.3% 0.211 330.7);
Tailwind
colors: {
  custom: {
    50: '#cd76c4',
    500: '#b230aa',
    950: '#000000',
  },
}
SCSS
$custom: #b230aa;
$custom-light: #cd76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b230aa",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 303.692,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55303,
    "c": 0.21125,
    "h": 330.7
  },
  "luminance": 0.14481
}

Semantic roles & 50–950 ramp

primary
#B230AA
secondary
#78C67D
accent
#E15047
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B230AA

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

Preview Lab → · Contrast checker → · Palette generator →

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