#B25BE1#B25BE1

#B25BE1 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.2% C 0.204 H 311.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B25BE1
RGBrgb(178, 91, 225)
HSLhsl(279, 69%, 62%)
HSVhsv(279, 60%, 88%)
CMYKcmyk(20.9%, 59.6%, 0%, 11.8%)
CIE-LABlab(54.43, 57.13, -54.14)
CIE-LCHlch(54.43, 78.71, 316.54°)
OKLaboklab(63.16% 0.1366 -0.1521)
OKLCHoklch(63.16% 0.204 311.9)
XYZxyz(35.6893, 22.3843, 73.6601)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25BE1 #8AE15B
analogous
#6F5BE1 #B25BE1 #E15BCD
triadic
#B25BE1 #E1B25B #5BE1B2
tetradic
#B25BE1 #E16F5B #8AE15B #5BCDE1
square
#B25BE1 #E16F5B #8AE15B #5BCDE1
split-complementary
#B25BE1 #CDE15B #5BE16F
monochromatic
#751EA4 #9A27D7 #B25BE1 #CA8FEA #E3C2F4

Accessibility & contrast

On white

3.83
#B25BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#B25BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25BE1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25BE1#FFFFFF#000000##000000
##B25BE11.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7EE5
Deuteranopia (green-blind)
#5184DE
Tritanopia (blue-blind)
#AD7496
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b25be1;
/* rgb */ color: rgb(178, 91, 225);
/* oklch */ color: oklch(63.2% 0.204 311.9);
Tailwind
colors: {
  custom: {
    50: '#cc8eeb',
    500: '#b25be1',
    950: '#000000',
  },
}
SCSS
$custom: #b25be1;
$custom-light: #cc8eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#b25be1",
  "rgb": {
    "r": 178,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 278.955,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63164,
    "c": 0.20444,
    "h": 311.9
  },
  "luminance": 0.22383
}

Semantic roles & 50–950 ramp

primary
#B25BE1
secondary
#C5E5B3
accent
#D11457
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140D16
muted
#827D84

Preview Lab

Preview with #B25BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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