#B25BE4#B25BE4

#B25BE4 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.3% C 0.208 H 311.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B25BE4
RGBrgb(178, 91, 228)
HSLhsl(278, 72%, 63%)
HSVhsv(278, 60%, 89%)
CMYKcmyk(21.9%, 60.1%, 0%, 10.6%)
CIE-LABlab(54.61, 57.77, -55.55)
CIE-LCHlch(54.61, 80.15, 316.12°)
OKLaboklab(63.35% 0.1366 -0.1563)
OKLCHoklch(63.35% 0.208 311.2)
XYZxyz(36.1022, 22.5494, 75.8344)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25BE4 #8DE45B
analogous
#6D5BE4 #B25BE4 #E45BD2
triadic
#B25BE4 #E4B25B #5BE4B2
tetradic
#B25BE4 #E46D5B #8DE45B #5BD2E4
square
#B25BE4 #E46D5B #8DE45B #5BD2E4
split-complementary
#B25BE4 #D2E45B #5BE46D
monochromatic
#751CA9 #9926DB #B25BE4 #CB90ED #E3C4F5

Accessibility & contrast

On white

3.81
#B25BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#B25BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25BE4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25BE4#FFFFFF#000000##000000
##B25BE41.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#267EE8
Deuteranopia (green-blind)
#4E84E1
Tritanopia (blue-blind)
#AC7597
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b25be4;
/* rgb */ color: rgb(178, 91, 228);
/* oklch */ color: oklch(63.3% 0.208 311.2);
Tailwind
colors: {
  custom: {
    50: '#cc8eed',
    500: '#b25be4',
    950: '#000000',
  },
}
SCSS
$custom: #b25be4;
$custom-light: #cc8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#b25be4",
  "rgb": {
    "r": 178,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 278.102,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63345,
    "c": 0.20754,
    "h": 311.2
  },
  "luminance": 0.22549
}

Semantic roles & 50–950 ramp

primary
#B25BE4
secondary
#C7E6B4
accent
#D41259
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140D16
muted
#827D84

Preview Lab

Preview with #B25BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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