#B25CE4#B25CE4

#B25CE4 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.5% C 0.206 H 311.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B25CE4
RGBrgb(178, 92, 228)
HSLhsl(278, 72%, 63%)
HSVhsv(278, 60%, 89%)
CMYKcmyk(21.9%, 59.6%, 0%, 10.6%)
CIE-LABlab(54.78, 57.29, -55.26)
CIE-LCHlch(54.78, 79.60, 316.03°)
OKLaboklab(63.48% 0.1354 -0.1554)
OKLCHoklch(63.48% 0.206 311.1)
XYZxyz(36.1882, 22.7215, 75.8631)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25CE4 #8EE45C
analogous
#6E5CE4 #B25CE4 #E45CD2
triadic
#B25CE4 #E4B25C #5CE4B2
tetradic
#B25CE4 #E46E5C #8EE45C #5CD2E4
square
#B25CE4 #E46E5C #8EE45C #5CD2E4
split-complementary
#B25CE4 #D2E45C #5CE46E
monochromatic
#761CAA #9927DB #B25CE4 #CB91ED #E4C5F5

Accessibility & contrast

On white

3.79
#B25CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B25CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25CE4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25CE4#FFFFFF#000000##000000
##B25CE41.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#287FE8
Deuteranopia (green-blind)
#4F85E1
Tritanopia (blue-blind)
#AC7598
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b25ce4;
/* rgb */ color: rgb(178, 92, 228);
/* oklch */ color: oklch(63.5% 0.206 311.1);
Tailwind
colors: {
  custom: {
    50: '#cc8eed',
    500: '#b25ce4',
    950: '#000000',
  },
}
SCSS
$custom: #b25ce4;
$custom-light: #cc8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ce4",
  "rgb": {
    "r": 178,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 277.941,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63475,
    "c": 0.20612,
    "h": 311.1
  },
  "luminance": 0.22721
}

Semantic roles & 50–950 ramp

primary
#B25CE4
secondary
#C7E7B5
accent
#D41259
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B25CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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