#B25FB2#B25FB2

#B25FB2 is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.2% C 0.151 H 327.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B25FB2
RGBrgb(178, 95, 178)
HSLhsl(300, 35%, 54%)
HSVhsv(300, 47%, 70%)
CMYKcmyk(0%, 46.6%, 0%, 30.2%)
CIE-LABlab(52.80, 45.71, -29.83)
CIE-LCHlch(52.80, 54.58, 326.87°)
OKLaboklab(61.19% 0.1269 -0.0817)
OKLCHoklch(61.19% 0.151 327.2)
XYZxyz(30.4876, 20.8653, 44.5324)
Luminance0.2086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25FB2 #5FB25F
analogous
#885FB2 #B25FB2 #B25F88
triadic
#B25FB2 #B2B25F #5FB2B2
tetradic
#B25FB2 #B2885F #5FB25F #5F88B2
square
#B25FB2 #B2885F #5FB25F #5F88B2
split-complementary
#B25FB2 #88B25F #5FB288
monochromatic
#663166 #8F458F #B25FB2 #C688C6 #DAB2DA

Accessibility & contrast

On white

4.06
#B25FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B25FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25FB2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25FB2#FFFFFF#000000##000000
##B25FB21.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#7082AF
Tritanopia (blue-blind)
#B66880
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b25fb2;
/* rgb */ color: rgb(178, 95, 178);
/* oklch */ color: oklch(61.2% 0.151 327.2);
Tailwind
colors: {
  custom: {
    50: '#cb8fc9',
    500: '#b25fb2',
    950: '#000000',
  },
}
SCSS
$custom: #b25fb2;
$custom-light: #cb8fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b25fb2",
  "rgb": {
    "r": 178,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61191,
    "c": 0.15094,
    "h": 327.2
  },
  "luminance": 0.20864
}

Semantic roles & 50–950 ramp

primary
#B25FB2
secondary
#A5C8A5
accent
#CB5D5D
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130D13
muted
#827D82

Preview Lab

Preview with #B25FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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