#B230B4#B230B4

#B230B4 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.219 H 327.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B230B4
RGBrgb(178, 48, 180)
HSLhsl(299, 58%, 45%)
HSVhsv(299, 73%, 71%)
CMYKcmyk(1.1%, 73.3%, 0%, 29.4%)
CIE-LABlab(45.46, 66.39, -42.54)
CIE-LCHlch(45.46, 78.85, 327.35°)
OKLaboklab(55.87% 0.1843 -0.118)
OKLCHoklch(55.87% 0.219 327.4)
XYZxyz(27.6549, 14.8761, 44.5860)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230B4 #32B430
analogous
#7030B4 #B230B4 #B43074
triadic
#B230B4 #B4B230 #30B4B2
tetradic
#B230B4 #B47030 #32B430 #3074B4
square
#B230B4 #B47030 #32B430 #3074B4
split-complementary
#B230B4 #74B430 #30B470
monochromatic
#521653 #822384 #B230B4 #CF51D1 #DC81DD

Accessibility & contrast

On white

5.28
#B230B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B230B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230B4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230B4#FFFFFF#000000##FFFFFF
##B230B41.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1161B8
Deuteranopia (green-blind)
#5271B1
Tritanopia (blue-blind)
#B74570
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b230b4;
/* rgb */ color: rgb(178, 48, 180);
/* oklch */ color: oklch(55.9% 0.219 327.4);
Tailwind
colors: {
  custom: {
    50: '#cd76cb',
    500: '#b230b4',
    950: '#000000',
  },
}
SCSS
$custom: #b230b4;
$custom-light: #cd76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b230b4",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 299.091,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55871,
    "c": 0.21885,
    "h": 327.4
  },
  "luminance": 0.14874
}

Semantic roles & 50–950 ramp

primary
#B230B4
secondary
#7BC679
accent
#E14749
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B230B4

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

Preview Lab → · Contrast checker → · Palette generator →

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