#B25AAA#B25AAA

#B25AAA is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.1% C 0.152 H 330.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B25AAA
RGBrgb(178, 90, 170)
HSLhsl(305, 36%, 53%)
HSVhsv(305, 49%, 70%)
CMYKcmyk(0%, 49.4%, 4.5%, 30.2%)
CIE-LABlab(51.48, 46.81, -27.24)
CIE-LCHlch(51.48, 54.16, 329.81°)
OKLaboklab(60.09% 0.1327 -0.0743)
OKLCHoklch(60.09% 0.152 330.8)
XYZxyz(29.2717, 19.6813, 40.2795)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25AAA #5AB262
analogous
#8E5AB2 #B25AAA #B25A7E
triadic
#B25AAA #AAB25A #5AAAB2
tetradic
#B25AAA #B28E5A #5AB262 #5A7EB2
square
#B25AAA #B28E5A #5AB262 #5A7EB2
split-complementary
#B25AAA #7EB25A #5AB28E
monochromatic
#632E5E #8D4286 #B25AAA #C584BF #D9ADD5

Accessibility & contrast

On white

4.25
#B25AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B25AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25AAA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25AAA#FFFFFF#000000##000000
##B25AAA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5673AD
Deuteranopia (green-blind)
#6F7FA7
Tritanopia (blue-blind)
#B8617A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b25aaa;
/* rgb */ color: rgb(178, 90, 170);
/* oklch */ color: oklch(60.1% 0.152 330.8);
Tailwind
colors: {
  custom: {
    50: '#cb8cc3',
    500: '#b25aaa',
    950: '#000000',
  },
}
SCSS
$custom: #b25aaa;
$custom-light: #cb8cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b25aaa",
  "rgb": {
    "r": 178,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 305.455,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60091,
    "c": 0.15204,
    "h": 330.8
  },
  "luminance": 0.1968
}

Semantic roles & 50–950 ramp

primary
#B25AAA
secondary
#A1C7A4
accent
#CC665B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B25AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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