#B25AEB#B25AEB

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

Color values

HEX#B25AEB
RGBrgb(178, 90, 235)
HSLhsl(276, 78%, 64%)
HSVhsv(276, 62%, 92%)
CMYKcmyk(24.3%, 61.7%, 0%, 7.8%)
CIE-LABlab(54.84, 59.76, -59.10)
CIE-LCHlch(54.84, 84.05, 315.32°)
OKLaboklab(63.65% 0.1376 -0.1667)
OKLCHoklch(63.65% 0.216 309.5)
XYZxyz(37.0087, 22.7761, 81.0278)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25AEB #93EB5A
analogous
#695AEB #B25AEB #EB5ADB
triadic
#B25AEB #EBB25A #5AEBB2
tetradic
#B25AEB #EB695A #93EB5A #5ADBEB
square
#B25AEB #EB695A #93EB5A #5ADBEB
split-complementary
#B25AEB #DBEB5A #5AEB69
monochromatic
#7616B5 #9923E4 #B25AEB #CB91F2 #E5C7F8

Accessibility & contrast

On white

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

On black

5.56
#B25AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25AEB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25AEB#FFFFFF#000000##000000
##B25AEB1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#107FF0
Deuteranopia (green-blind)
#4785E8
Tritanopia (blue-blind)
#AA779A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b25aeb;
/* rgb */ color: rgb(178, 90, 235);
/* oklch */ color: oklch(63.6% 0.216 309.5);
Tailwind
colors: {
  custom: {
    50: '#cd8df2',
    500: '#b25aeb',
    950: '#000000',
  },
}
SCSS
$custom: #b25aeb;
$custom-light: #cd8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#b25aeb",
  "rgb": {
    "r": 178,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 276.414,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63649,
    "c": 0.21615,
    "h": 309.5
  },
  "luminance": 0.22775
}

Semantic roles & 50–950 ramp

primary
#B25AEB
secondary
#CBEAB7
accent
#DB0B5D
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B25AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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