#B25AEC#B25AEC

#B25AEC is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.7% C 0.217 H 309.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B25AEC
RGBrgb(178, 90, 236)
HSLhsl(276, 79%, 64%)
HSVhsv(276, 62%, 93%)
CMYKcmyk(24.6%, 61.9%, 0%, 7.5%)
CIE-LABlab(54.90, 59.98, -59.56)
CIE-LCHlch(54.90, 84.53, 315.20°)
OKLaboklab(63.71% 0.1376 -0.168)
OKLCHoklch(63.71% 0.217 309.3)
XYZxyz(37.1536, 22.8341, 81.7908)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25AEC #94EC5A
analogous
#695AEC #B25AEC #EC5ADD
triadic
#B25AEC #ECB25A #5AECB2
tetradic
#B25AEC #EC695A #94EC5A #5ADDEC
square
#B25AEC #EC695A #94EC5A #5ADDEC
split-complementary
#B25AEC #DDEC5A #5AEC69
monochromatic
#7615B7 #9823E6 #B25AEC #CC91F2 #E5C8F9

Accessibility & contrast

On white

3.77
#B25AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B25AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25AEC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25AEC#FFFFFF#000000##000000
##B25AEC1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C80F1
Deuteranopia (green-blind)
#4585E9
Tritanopia (blue-blind)
#AA779B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b25aec;
/* rgb */ color: rgb(178, 90, 236);
/* oklch */ color: oklch(63.7% 0.217 309.3);
Tailwind
colors: {
  custom: {
    50: '#cd8df3',
    500: '#b25aec',
    950: '#000000',
  },
}
SCSS
$custom: #b25aec;
$custom-light: #cd8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#b25aec",
  "rgb": {
    "r": 178,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 276.164,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63711,
    "c": 0.21718,
    "h": 309.3
  },
  "luminance": 0.22833
}

Semantic roles & 50–950 ramp

primary
#B25AEC
secondary
#CCEBB7
accent
#DC0A5D
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B25AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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