#B25CD8#B25CD8

#B25CD8 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.8% C 0.194 H 314.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B25CD8
RGBrgb(178, 92, 216)
HSLhsl(282, 61%, 60%)
HSVhsv(282, 57%, 85%)
CMYKcmyk(17.6%, 57.4%, 0%, 15.3%)
CIE-LABlab(54.11, 54.74, -49.56)
CIE-LCHlch(54.11, 73.85, 317.84°)
OKLaboklab(62.77% 0.1352 -0.1388)
OKLCHoklch(62.77% 0.194 314.2)
XYZxyz(34.5799, 22.0782, 67.3924)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25CD8 #82D85C
analogous
#745CD8 #B25CD8 #D85CC0
triadic
#B25CD8 #D8B25C #5CD8B2
tetradic
#B25CD8 #D8745C #82D85C #5CC0D8
square
#B25CD8 #D8745C #82D85C #5CC0D8
split-complementary
#B25CD8 #C0D85C #5CD874
monochromatic
#732496 #9930C7 #B25CD8 #C98DE4 #E1BFF0

Accessibility & contrast

On white

3.88
#B25CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#B25CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25CD8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25CD8#FFFFFF#000000##000000
##B25CD81.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#387CDC
Deuteranopia (green-blind)
#5984D5
Tritanopia (blue-blind)
#AF7191
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b25cd8;
/* rgb */ color: rgb(178, 92, 216);
/* oklch */ color: oklch(62.8% 0.194 314.2);
Tailwind
colors: {
  custom: {
    50: '#cc8ee4',
    500: '#b25cd8',
    950: '#000000',
  },
}
SCSS
$custom: #b25cd8;
$custom-light: #cc8ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#b25cd8",
  "rgb": {
    "r": 178,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 281.613,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62766,
    "c": 0.19371,
    "h": 314.2
  },
  "luminance": 0.22077
}

Semantic roles & 50–950 ramp

primary
#B25CD8
secondary
#BFE0B0
accent
#C91C51
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140D16
muted
#827D84

Preview Lab

Preview with #B25CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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