#B253A7#B253A7

#B253A7 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.0% C 0.161 H 332.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B253A7
RGBrgb(178, 83, 167)
HSLhsl(307, 38%, 51%)
HSVhsv(307, 53%, 70%)
CMYKcmyk(0%, 53.4%, 6.2%, 30.2%)
CIE-LABlab(50.03, 49.77, -27.72)
CIE-LCHlch(50.03, 56.97, 330.88°)
OKLaboklab(58.98% 0.1421 -0.0756)
OKLCHoklch(58.98% 0.161 332)
XYZxyz(28.4283, 18.4434, 38.6143)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B253A7 #53B25E
analogous
#8D53B2 #B253A7 #B25377
triadic
#B253A7 #A7B253 #53A7B2
tetradic
#B253A7 #B28D53 #53B25E #5377B2
square
#B253A7 #B28D53 #53B25E #5377B2
split-complementary
#B253A7 #77B253 #53B28D
monochromatic
#602B5A #8A3E81 #B253A7 #C57DBD #D8A8D2

Accessibility & contrast

On white

4.48
#B253A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B253A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B253A7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B253A7#FFFFFF#000000##000000
##B253A71.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EAA
Deuteranopia (green-blind)
#6C7CA4
Tritanopia (blue-blind)
#B95A75
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b253a7;
/* rgb */ color: rgb(178, 83, 167);
/* oklch */ color: oklch(59.0% 0.161 332.0);
Tailwind
colors: {
  custom: {
    50: '#cb88c1',
    500: '#b253a7',
    950: '#000000',
  },
}
SCSS
$custom: #b253a7;
$custom-light: #cb88c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b253a7",
  "rgb": {
    "r": 178,
    "g": 83,
    "b": 167
  },
  "hsl": {
    "h": 306.947,
    "s": 38.153,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58979,
    "c": 0.16095,
    "h": 332
  },
  "luminance": 0.18442
}

Semantic roles & 50–950 ramp

primary
#B253A7
secondary
#9BC5A0
accent
#CE675A
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B253A7

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

Preview Lab → · Contrast checker → · Palette generator →

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