#B230C1#B230C1

#B230C1 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.7% C 0.229 H 323.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B230C1
RGBrgb(178, 48, 193)
HSLhsl(294, 60%, 47%)
HSVhsv(294, 75%, 76%)
CMYKcmyk(7.8%, 75.1%, 0%, 24.3%)
CIE-LABlab(46.22, 68.58, -48.95)
CIE-LCHlch(46.22, 84.26, 324.49°)
OKLaboklab(56.65% 0.1838 -0.1367)
OKLCHoklch(56.65% 0.229 323.4)
XYZxyz(29.0418, 15.4309, 51.8905)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230C1 #3FC130
analogous
#6930C1 #B230C1 #C13088
triadic
#B230C1 #C1B230 #30C1B2
tetradic
#B230C1 #C16930 #3FC130 #3088C1
square
#B230C1 #C16930 #3FC130 #3088C1
split-complementary
#B230C1 #88C130 #30C169
monochromatic
#58185F #852490 #B230C1 #C959D6 #D98AE2

Accessibility & contrast

On white

5.14
#B230C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B230C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230C1
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230C1#FFFFFF#000000##FFFFFF
##B230C11.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#4973BE
Tritanopia (blue-blind)
#B54C77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b230c1;
/* rgb */ color: rgb(178, 48, 193);
/* oklch */ color: oklch(56.7% 0.229 323.4);
Tailwind
colors: {
  custom: {
    50: '#cd76d4',
    500: '#b230c1',
    950: '#000000',
  },
}
SCSS
$custom: #b230c1;
$custom-light: #cd76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b230c1",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 193
  },
  "hsl": {
    "h": 293.793,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56651,
    "c": 0.22902,
    "h": 323.4
  },
  "luminance": 0.15429
}

Semantic roles & 50–950 ramp

primary
#B230C1
secondary
#89CC81
accent
#E34455
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B230C1

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

Preview Lab → · Contrast checker → · Palette generator →

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