#B230B8#B230B8

#B230B8 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.222 H 326.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B230B8
RGBrgb(178, 48, 184)
HSLhsl(297, 59%, 45%)
HSVhsv(297, 74%, 72%)
CMYKcmyk(3.3%, 73.9%, 0%, 27.8%)
CIE-LABlab(45.69, 67.05, -44.53)
CIE-LCHlch(45.69, 80.49, 326.41°)
OKLaboklab(56.11% 0.1842 -0.1238)
OKLCHoklch(56.11% 0.222 326.1)
XYZxyz(28.0682, 15.0415, 46.7630)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230B8 #36B830
analogous
#6E30B8 #B230B8 #B8307A
triadic
#B230B8 #B8B230 #30B8B2
tetradic
#B230B8 #B86E30 #36B830 #307AB8
square
#B230B8 #B86E30 #36B830 #307AB8
split-complementary
#B230B8 #7AB830 #30B86E
monochromatic
#541757 #832387 #B230B8 #CD53D2 #DB84DF

Accessibility & contrast

On white

5.24
#B230B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B230B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230B8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230B8#FFFFFF#000000##FFFFFF
##B230B81.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0262BC
Deuteranopia (green-blind)
#5072B5
Tritanopia (blue-blind)
#B74772
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b230b8;
/* rgb */ color: rgb(178, 48, 184);
/* oklch */ color: oklch(56.1% 0.222 326.1);
Tailwind
colors: {
  custom: {
    50: '#cd76ce',
    500: '#b230b8',
    950: '#000000',
  },
}
SCSS
$custom: #b230b8;
$custom-light: #cd76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b230b8",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 297.353,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56106,
    "c": 0.22195,
    "h": 326.1
  },
  "luminance": 0.1504
}

Semantic roles & 50–950 ramp

primary
#B230B8
secondary
#7FC87C
accent
#E2464D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B230B8

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

Preview Lab → · Contrast checker → · Palette generator →

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