#B25BCA#B25BCA

#B25BCA is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.8% C 0.181 H 318.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B25BCA
RGBrgb(178, 91, 202)
HSLhsl(287, 51%, 57%)
HSVhsv(287, 55%, 79%)
CMYKcmyk(11.9%, 55%, 0%, 20.8%)
CIE-LABlab(53.18, 52.37, -43.07)
CIE-LCHlch(53.18, 67.81, 320.57°)
OKLaboklab(61.85% 0.1356 -0.1198)
OKLCHoklch(61.85% 0.181 318.5)
XYZxyz(32.7604, 21.2127, 58.2344)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25BCA #73CA5B
analogous
#7B5BCA #B25BCA #CA5BAB
triadic
#B25BCA #CAB25B #5BCAB2
tetradic
#B25BCA #CA7B5B #73CA5B #5BABCA
square
#B25BCA #CA7B5B #73CA5B #5BABCA
split-complementary
#B25BCA #ABCA5B #5BCA7B
monochromatic
#6E2A81 #9639AF #B25BCA #C889D9 #DDB8E8

Accessibility & contrast

On white

4.01
#B25BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#B25BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25BCA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25BCA#FFFFFF#000000##000000
##B25BCA1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4379CE
Deuteranopia (green-blind)
#6182C7
Tritanopia (blue-blind)
#B26C8A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b25bca;
/* rgb */ color: rgb(178, 91, 202);
/* oklch */ color: oklch(61.8% 0.181 318.5);
Tailwind
colors: {
  custom: {
    50: '#cb8dda',
    500: '#b25bca',
    950: '#000000',
  },
}
SCSS
$custom: #b25bca;
$custom-light: #cb8dda;
$custom-dark: #000000;
JSON
{
  "hex": "#b25bca",
  "rgb": {
    "r": 178,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 287.027,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61845,
    "c": 0.18098,
    "h": 318.5
  },
  "luminance": 0.21211
}

Semantic roles & 50–950 ramp

primary
#B25BCA
secondary
#B4D7AA
accent
#DB4D6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B25BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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