#B25BE8#B25BE8

#B25BE8 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.6% C 0.212 H 310.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B25BE8
RGBrgb(178, 91, 232)
HSLhsl(277, 75%, 63%)
HSVhsv(277, 61%, 91%)
CMYKcmyk(23.3%, 60.8%, 0%, 9%)
CIE-LABlab(54.84, 58.63, -57.42)
CIE-LCHlch(54.84, 82.07, 315.60°)
OKLaboklab(63.59% 0.1365 -0.1617)
OKLCHoklch(63.59% 0.212 310.2)
XYZxyz(36.6639, 22.7741, 78.7927)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25BE8 #91E85B
analogous
#6B5BE8 #B25BE8 #E85BD8
triadic
#B25BE8 #E8B25B #5BE8B2
tetradic
#B25BE8 #E86B5B #91E85B #5BD8E8
square
#B25BE8 #E86B5B #91E85B #5BD8E8
split-complementary
#B25BE8 #D8E85B #5BE86B
monochromatic
#7619B0 #9925E0 #B25BE8 #CB91F0 #E4C6F7

Accessibility & contrast

On white

3.78
#B25BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B25BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25BE8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25BE8#FFFFFF#000000##000000
##B25BE81.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7FEC
Deuteranopia (green-blind)
#4B85E5
Tritanopia (blue-blind)
#AB7699
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b25be8;
/* rgb */ color: rgb(178, 91, 232);
/* oklch */ color: oklch(63.6% 0.212 310.2);
Tailwind
colors: {
  custom: {
    50: '#cd8ef0',
    500: '#b25be8',
    950: '#000000',
  },
}
SCSS
$custom: #b25be8;
$custom-light: #cd8ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#b25be8",
  "rgb": {
    "r": 178,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 277.021,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6359,
    "c": 0.21167,
    "h": 310.2
  },
  "luminance": 0.22773
}

Semantic roles & 50–950 ramp

primary
#B25BE8
secondary
#CAE9B6
accent
#D80E5B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B25BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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