#B230B3#B230B3

#B230B3 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.218 H 327.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B230B3
RGBrgb(178, 48, 179)
HSLhsl(300, 58%, 45%)
HSVhsv(300, 73%, 70%)
CMYKcmyk(0.6%, 73.2%, 0%, 29.8%)
CIE-LABlab(45.41, 66.22, -42.05)
CIE-LCHlch(45.41, 78.44, 327.59°)
OKLaboklab(55.81% 0.1843 -0.1166)
OKLCHoklch(55.81% 0.218 327.7)
XYZxyz(27.5534, 14.8355, 44.0514)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230B3 #31B330
analogous
#7130B3 #B230B3 #B33073
triadic
#B230B3 #B3B230 #30B3B2
tetradic
#B230B3 #B37130 #31B330 #3073B3
square
#B230B3 #B37130 #31B330 #3073B3
split-complementary
#B230B3 #73B330 #30B371
monochromatic
#521652 #822383 #B230B3 #CF50D0 #DC80DD

Accessibility & contrast

On white

5.29
#B230B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B230B3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230B3#FFFFFF#000000##FFFFFF
##B230B31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1361B7
Deuteranopia (green-blind)
#5371B0
Tritanopia (blue-blind)
#B7456F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b230b3;
/* rgb */ color: rgb(178, 48, 179);
/* oklch */ color: oklch(55.8% 0.218 327.7);
Tailwind
colors: {
  custom: {
    50: '#cd76ca',
    500: '#b230b3',
    950: '#000000',
  },
}
SCSS
$custom: #b230b3;
$custom-light: #cd76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b230b3",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 299.542,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55813,
    "c": 0.21807,
    "h": 327.7
  },
  "luminance": 0.14834
}

Semantic roles & 50–950 ramp

primary
#B230B3
secondary
#79C679
accent
#E14748
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B230B3

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

Preview Lab → · Contrast checker → · Palette generator →

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