#B25AF0#B25AF0

#B25AF0 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.0% C 0.221 H 308.4°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B25AF0
RGBrgb(178, 90, 240)
HSLhsl(275, 83%, 65%)
HSVhsv(275, 63%, 94%)
CMYKcmyk(25.8%, 62.5%, 0%, 5.9%)
CIE-LABlab(55.14, 60.85, -61.41)
CIE-LCHlch(55.14, 86.45, 314.74°)
OKLaboklab(63.97% 0.1374 -0.1734)
OKLCHoklch(63.97% 0.221 308.4)
XYZxyz(37.7413, 23.0692, 84.8858)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25AF0 #98F05A
analogous
#675AF0 #B25AF0 #F05AE3
triadic
#B25AF0 #F0B25A #5AF0B2
tetradic
#B25AF0 #F0675A #98F05A #5AE3F0
square
#B25AF0 #F0675A #98F05A #5AE3F0
split-complementary
#B25AF0 #E3F05A #5AF067
monochromatic
#7711BE #9822EB #B25AF0 #CC92F5 #E6CAFA

Accessibility & contrast

On white

3.74
#B25AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#B25AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25AF0
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25AF0#FFFFFF#000000##000000
##B25AF01.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F5
Deuteranopia (green-blind)
#4185ED
Tritanopia (blue-blind)
#A9789D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b25af0;
/* rgb */ color: rgb(178, 90, 240);
/* oklch */ color: oklch(64.0% 0.221 308.4);
Tailwind
colors: {
  custom: {
    50: '#cd8df6',
    500: '#b25af0',
    950: '#000000',
  },
}
SCSS
$custom: #b25af0;
$custom-light: #cd8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#b25af0",
  "rgb": {
    "r": 178,
    "g": 90,
    "b": 240
  },
  "hsl": {
    "h": 275.2,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63965,
    "c": 0.2213,
    "h": 308.4
  },
  "luminance": 0.23069
}

Semantic roles & 50–950 ramp

primary
#B25AF0
secondary
#CEEDB9
accent
#E00660
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B25AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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