#B230B7#B230B7

#B230B7 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.221 H 326.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B230B7
RGBrgb(178, 48, 183)
HSLhsl(298, 58%, 45%)
HSVhsv(298, 74%, 72%)
CMYKcmyk(2.7%, 73.8%, 0%, 28.2%)
CIE-LABlab(45.63, 66.89, -44.04)
CIE-LCHlch(45.63, 80.08, 326.64°)
OKLaboklab(56.05% 0.1842 -0.1224)
OKLCHoklch(56.05% 0.221 326.4)
XYZxyz(27.9638, 14.9997, 46.2129)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230B7 #35B730
analogous
#6F30B7 #B230B7 #B73078
triadic
#B230B7 #B7B230 #30B7B2
tetradic
#B230B7 #B76F30 #35B730 #3078B7
square
#B230B7 #B76F30 #35B730 #3078B7
split-complementary
#B230B7 #78B730 #30B76F
monochromatic
#541756 #832387 #B230B7 #CD52D2 #DB83DE

Accessibility & contrast

On white

5.25
#B230B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B230B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230B7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230B7#FFFFFF#000000##FFFFFF
##B230B71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0662BB
Deuteranopia (green-blind)
#5072B4
Tritanopia (blue-blind)
#B74771
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b230b7;
/* rgb */ color: rgb(178, 48, 183);
/* oklch */ color: oklch(56.0% 0.221 326.4);
Tailwind
colors: {
  custom: {
    50: '#cd76cd',
    500: '#b230b7',
    950: '#000000',
  },
}
SCSS
$custom: #b230b7;
$custom-light: #cd76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b230b7",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 297.778,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56046,
    "c": 0.22117,
    "h": 326.4
  },
  "luminance": 0.14998
}

Semantic roles & 50–950 ramp

primary
#B230B7
secondary
#7EC87B
accent
#E2464C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B230B7

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

Preview Lab → · Contrast checker → · Palette generator →

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