#B235AA#B235AA

#B235AA is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.206 H 330.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B235AA
RGBrgb(178, 53, 170)
HSLhsl(304, 54%, 45%)
HSVhsv(304, 70%, 70%)
CMYKcmyk(0%, 70.2%, 4.5%, 30.2%)
CIE-LABlab(45.52, 63.07, -36.56)
CIE-LCHlch(45.52, 72.90, 329.90°)
OKLaboklab(55.74% 0.1793 -0.1007)
OKLCHoklch(55.74% 0.206 330.7)
XYZxyz(26.8888, 14.9155, 39.4852)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B235AA #35B23D
analogous
#7B35B2 #B235AA #B2356B
triadic
#B235AA #AAB235 #35AAB2
tetradic
#B235AA #B27B35 #35B23D #356BB2
square
#B235AA #B27B35 #35B23D #356BB2
split-complementary
#B235AA #6BB235 #35B27B
monochromatic
#541950 #83277D #B235AA #CD57C5 #DB86D6

Accessibility & contrast

On white

5.27
#B235AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B235AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B235AA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B235AA#FFFFFF#000000##FFFFFF
##B235AA1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AD
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#B9446C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b235aa;
/* rgb */ color: rgb(178, 53, 170);
/* oklch */ color: oklch(55.7% 0.206 330.7);
Tailwind
colors: {
  custom: {
    50: '#cd78c4',
    500: '#b235aa',
    950: '#000000',
  },
}
SCSS
$custom: #b235aa;
$custom-light: #cd78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b235aa",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 303.84,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55735,
    "c": 0.20564,
    "h": 330.7
  },
  "luminance": 0.14913
}

Semantic roles & 50–950 ramp

primary
#B235AA
secondary
#7EC582
accent
#DD544A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B235AA

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

Preview Lab → · Contrast checker → · Palette generator →

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