#B230B5#B230B5

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

Color values

HEX#B230B5
RGBrgb(178, 48, 181)
HSLhsl(299, 58%, 45%)
HSVhsv(299, 73%, 71%)
CMYKcmyk(1.7%, 73.5%, 0%, 29%)
CIE-LABlab(45.52, 66.55, -43.04)
CIE-LCHlch(45.52, 79.26, 327.11°)
OKLaboklab(55.93% 0.1843 -0.1195)
OKLCHoklch(55.93% 0.22 327)
XYZxyz(27.7571, 14.9170, 45.1244)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230B5 #33B530
analogous
#7030B5 #B230B5 #B53075
triadic
#B230B5 #B5B230 #30B5B2
tetradic
#B230B5 #B57030 #33B530 #3075B5
square
#B230B5 #B57030 #33B530 #3075B5
split-complementary
#B230B5 #75B530 #30B570
monochromatic
#531654 #822385 #B230B5 #CE51D1 #DC82DE

Accessibility & contrast

On white

5.27
#B230B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B230B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230B5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230B5#FFFFFF#000000##FFFFFF
##B230B51.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E61B9
Deuteranopia (green-blind)
#5271B2
Tritanopia (blue-blind)
#B74670
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b230b5;
/* rgb */ color: rgb(178, 48, 181);
/* oklch */ color: oklch(55.9% 0.220 327.0);
Tailwind
colors: {
  custom: {
    50: '#cd76cc',
    500: '#b230b5',
    950: '#000000',
  },
}
SCSS
$custom: #b230b5;
$custom-light: #cd76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b230b5",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 298.647,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55929,
    "c": 0.21962,
    "h": 327
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#B230B5
secondary
#7CC77A
accent
#E1464A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B230B5

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

Preview Lab → · Contrast checker → · Palette generator →

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