#B230C0#B230C0

#B230C0 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.6% C 0.228 H 323.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B230C0
RGBrgb(178, 48, 192)
HSLhsl(294, 60%, 47%)
HSVhsv(294, 75%, 75%)
CMYKcmyk(7.3%, 75%, 0%, 24.7%)
CIE-LABlab(46.16, 68.41, -48.46)
CIE-LCHlch(46.16, 83.84, 324.69°)
OKLaboklab(56.59% 0.1838 -0.1353)
OKLCHoklch(56.59% 0.228 323.7)
XYZxyz(28.9306, 15.3864, 51.3050)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230C0 #3EC030
analogous
#6A30C0 #B230C0 #C03086
triadic
#B230C0 #C0B230 #30C0B2
tetradic
#B230C0 #C06A30 #3EC030 #3086C0
square
#B230C0 #C06A30 #3EC030 #3086C0
split-complementary
#B230C0 #86C030 #30C06A
monochromatic
#57185E #85248F #B230C0 #C958D5 #D989E1

Accessibility & contrast

On white

5.15
#B230C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B230C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230C0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230C0#FFFFFF#000000##FFFFFF
##B230C01.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#4A72BD
Tritanopia (blue-blind)
#B54B76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b230c0;
/* rgb */ color: rgb(178, 48, 192);
/* oklch */ color: oklch(56.6% 0.228 323.7);
Tailwind
colors: {
  custom: {
    50: '#cd76d4',
    500: '#b230c0',
    950: '#000000',
  },
}
SCSS
$custom: #b230c0;
$custom-light: #cd76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b230c0",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 294.167,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56589,
    "c": 0.22823,
    "h": 323.7
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#B230C0
secondary
#88CB80
accent
#E34554
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B230C0

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

Preview Lab → · Contrast checker → · Palette generator →

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