#B230AF#B230AF

#B230AF is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.215 H 329.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B230AF
RGBrgb(178, 48, 175)
HSLhsl(301, 58%, 44%)
HSVhsv(301, 73%, 70%)
CMYKcmyk(0%, 73%, 1.7%, 30.2%)
CIE-LABlab(45.19, 65.57, -40.04)
CIE-LCHlch(45.19, 76.83, 328.59°)
OKLaboklab(55.58% 0.1843 -0.1107)
OKLCHoklch(55.58% 0.215 329)
XYZxyz(27.1547, 14.6761, 41.9517)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230AF #30B233
analogous
#7430B2 #B230AF #B2306E
triadic
#B230AF #AFB230 #30AFB2
tetradic
#B230AF #B27430 #30B233 #306EB2
square
#B230AF #B27430 #30B233 #306EB2
split-complementary
#B230AF #6EB230 #30B274
monochromatic
#521650 #822380 #B230AF #D050CD #DD80DB

Accessibility & contrast

On white

5.34
#B230AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B230AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230AF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230AF#FFFFFF#000000##FFFFFF
##B230AF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B60B2
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#B8436D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b230af;
/* rgb */ color: rgb(178, 48, 175);
/* oklch */ color: oklch(55.6% 0.215 329.0);
Tailwind
colors: {
  custom: {
    50: '#cd76c7',
    500: '#b230af',
    950: '#000000',
  },
}
SCSS
$custom: #b230af;
$custom-light: #cd76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b230af",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 301.385,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55583,
    "c": 0.21501,
    "h": 329
  },
  "luminance": 0.14674
}

Semantic roles & 50–950 ramp

primary
#B230AF
secondary
#78C67A
accent
#E14B47
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B230AF

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

Preview Lab → · Contrast checker → · Palette generator →

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