#B25AEF#B25AEF

#B25AEF is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.9% C 0.220 H 308.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B25AEF
RGBrgb(178, 90, 239)
HSLhsl(275, 82%, 65%)
HSVhsv(275, 62%, 94%)
CMYKcmyk(25.5%, 62.3%, 0%, 6.3%)
CIE-LABlab(55.08, 60.63, -60.95)
CIE-LCHlch(55.08, 85.97, 314.85°)
OKLaboklab(63.9% 0.1375 -0.1721)
OKLCHoklch(63.9% 0.22 308.6)
XYZxyz(37.5931, 23.0099, 84.1056)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25AEF #97EF5A
analogous
#685AEF #B25AEF #EF5AE2
triadic
#B25AEF #EFB25A #5AEFB2
tetradic
#B25AEF #EF685A #97EF5A #5AE2EF
square
#B25AEF #EF685A #97EF5A #5AE2EF
split-complementary
#B25AEF #E2EF5A #5AEF68
monochromatic
#7712BC #9822EA #B25AEF #CC92F4 #E6CAFA

Accessibility & contrast

On white

3.75
#B25AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B25AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25AEF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25AEF#FFFFFF#000000##000000
##B25AEF1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#4285EC
Tritanopia (blue-blind)
#A9789D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b25aef;
/* rgb */ color: rgb(178, 90, 239);
/* oklch */ color: oklch(63.9% 0.220 308.6);
Tailwind
colors: {
  custom: {
    50: '#cd8df5',
    500: '#b25aef',
    950: '#000000',
  },
}
SCSS
$custom: #b25aef;
$custom-light: #cd8df5;
$custom-dark: #000000;
JSON
{
  "hex": "#b25aef",
  "rgb": {
    "r": 178,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 275.436,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63901,
    "c": 0.22027,
    "h": 308.6
  },
  "luminance": 0.23009
}

Semantic roles & 50–950 ramp

primary
#B25AEF
secondary
#CEECB9
accent
#DF075F
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140D17
muted
#837D85

Preview Lab

Preview with #B25AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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