#B233A7#B233A7

#B233A7 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.206 H 331.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B233A7
RGBrgb(178, 51, 167)
HSLhsl(305, 55%, 45%)
HSVhsv(305, 71%, 70%)
CMYKcmyk(0%, 71.3%, 6.2%, 30.2%)
CIE-LABlab(45.12, 63.29, -35.41)
CIE-LCHlch(45.12, 72.52, 330.77°)
OKLaboklab(55.4% 0.1812 -0.0974)
OKLCHoklch(55.4% 0.206 331.7)
XYZxyz(26.5190, 14.6248, 37.9779)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233A7 #33B23E
analogous
#7E33B2 #B233A7 #B23367
triadic
#B233A7 #A7B233 #33A7B2
tetradic
#B233A7 #B27E33 #33B23E #3367B2
square
#B233A7 #B27E33 #33B23E #3367B2
split-complementary
#B233A7 #67B233 #33B27E
monochromatic
#53184E #82257A #B233A7 #CE54C3 #DC84D4

Accessibility & contrast

On white

5.35
#B233A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B233A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233A7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233A7#FFFFFF#000000##FFFFFF
##B233A71.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5FAA
Deuteranopia (green-blind)
#5B71A4
Tritanopia (blue-blind)
#B94169
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b233a7;
/* rgb */ color: rgb(178, 51, 167);
/* oklch */ color: oklch(55.4% 0.206 331.7);
Tailwind
colors: {
  custom: {
    50: '#cd77c1',
    500: '#b233a7',
    950: '#000000',
  },
}
SCSS
$custom: #b233a7;
$custom-light: #cd77c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b233a7",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 167
  },
  "hsl": {
    "h": 305.197,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55395,
    "c": 0.20568,
    "h": 331.7
  },
  "luminance": 0.14623
}

Semantic roles & 50–950 ramp

primary
#B233A7
secondary
#7CC582
accent
#DF5649
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B233A7

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

Preview Lab → · Contrast checker → · Palette generator →

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