#B25BE5#B25BE5

#B25BE5 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.4% C 0.209 H 310.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B25BE5
RGBrgb(178, 91, 229)
HSLhsl(278, 73%, 63%)
HSVhsv(278, 60%, 90%)
CMYKcmyk(22.3%, 60.3%, 0%, 10.2%)
CIE-LABlab(54.66, 57.99, -56.02)
CIE-LCHlch(54.66, 80.63, 315.99°)
OKLaboklab(63.41% 0.1366 -0.1576)
OKLCHoklch(63.41% 0.209 310.9)
XYZxyz(36.2414, 22.6051, 76.5676)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25BE5 #8EE55B
analogous
#6D5BE5 #B25BE5 #E55BD3
triadic
#B25BE5 #E5B25B #5BE5B2
tetradic
#B25BE5 #E56D5B #8EE55B #5BD3E5
square
#B25BE5 #E56D5B #8EE55B #5BD3E5
split-complementary
#B25BE5 #D3E55B #5BE56D
monochromatic
#761BAB #9926DD #B25BE5 #CB90ED #E4C5F6

Accessibility & contrast

On white

3.80
#B25BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B25BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25BE5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25BE5#FFFFFF#000000##000000
##B25BE51.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#247FE9
Deuteranopia (green-blind)
#4D84E2
Tritanopia (blue-blind)
#AC7598
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b25be5;
/* rgb */ color: rgb(178, 91, 229);
/* oklch */ color: oklch(63.4% 0.209 310.9);
Tailwind
colors: {
  custom: {
    50: '#cc8eee',
    500: '#b25be5',
    950: '#000000',
  },
}
SCSS
$custom: #b25be5;
$custom-light: #cc8eee;
$custom-dark: #000000;
JSON
{
  "hex": "#b25be5",
  "rgb": {
    "r": 178,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 277.826,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63406,
    "c": 0.20857,
    "h": 310.9
  },
  "luminance": 0.22604
}

Semantic roles & 50–950 ramp

primary
#B25BE5
secondary
#C7E7B5
accent
#D51159
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140D16
muted
#827D84

Preview Lab

Preview with #B25BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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