#B25CB2#B25CB2

#B25CB2 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.8% C 0.156 H 327.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B25CB2
RGBrgb(178, 92, 178)
HSLhsl(300, 36%, 53%)
HSVhsv(300, 48%, 70%)
CMYKcmyk(0%, 48.3%, 0%, 30.2%)
CIE-LABlab(52.21, 47.25, -30.75)
CIE-LCHlch(52.21, 56.37, 326.94°)
OKLaboklab(60.76% 0.1312 -0.0843)
OKLCHoklch(60.76% 0.156 327.3)
XYZxyz(30.2226, 20.3352, 44.4440)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25CB2 #5CB25C
analogous
#875CB2 #B25CB2 #B25C87
triadic
#B25CB2 #B2B25C #5CB2B2
tetradic
#B25CB2 #B2875C #5CB25C #5C87B2
square
#B25CB2 #B2875C #5CB25C #5C87B2
split-complementary
#B25CB2 #87B25C #5CB287
monochromatic
#642F64 #8E438E #B25CB2 #C686C6 #D9AFD9

Accessibility & contrast

On white

4.14
#B25CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#B25CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25CB2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25CB2#FFFFFF#000000##000000
##B25CB21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#6D81AF
Tritanopia (blue-blind)
#B7657F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b25cb2;
/* rgb */ color: rgb(178, 92, 178);
/* oklch */ color: oklch(60.8% 0.156 327.3);
Tailwind
colors: {
  custom: {
    50: '#cb8dc9',
    500: '#b25cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b25cb2;
$custom-light: #cb8dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b25cb2",
  "rgb": {
    "r": 178,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 35.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60755,
    "c": 0.15598,
    "h": 327.3
  },
  "luminance": 0.20334
}

Semantic roles & 50–950 ramp

primary
#B25CB2
secondary
#A2C7A2
accent
#CC5C5C
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B25CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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