#B25AF5#B25AF5

#B25AF5 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.3% C 0.226 H 307.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B25AF5
RGBrgb(178, 90, 245)
HSLhsl(274, 89%, 66%)
HSVhsv(274, 63%, 96%)
CMYKcmyk(27.3%, 63.3%, 0%, 3.9%)
CIE-LABlab(55.45, 61.95, -63.70)
CIE-LCHlch(55.45, 88.86, 314.20°)
OKLaboklab(64.29% 0.1372 -0.1802)
OKLCHoklch(64.29% 0.226 307.3)
XYZxyz(38.4943, 23.3704, 88.8515)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25AF5 #9DF55A
analogous
#655AF5 #B25AF5 #F55AEA
triadic
#B25AF5 #F5B25A #5AF5B2
tetradic
#B25AF5 #F5655A #9DF55A #5AEAF5
square
#B25AF5 #F5655A #9DF55A #5AEAF5
split-complementary
#B25AF5 #EAF55A #5AF565
monochromatic
#770CC8 #9720F2 #B25AF5 #CD94F8 #E8CDFC

Accessibility & contrast

On white

3.70
#B25AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#B25AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25AF5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25AF5#FFFFFF#000000##000000
##B25AF51.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#3B86F2
Tritanopia (blue-blind)
#A77AA0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b25af5;
/* rgb */ color: rgb(178, 90, 245);
/* oklch */ color: oklch(64.3% 0.226 307.3);
Tailwind
colors: {
  custom: {
    50: '#cd8ef9',
    500: '#b25af5',
    950: '#000000',
  },
}
SCSS
$custom: #b25af5;
$custom-light: #cd8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#b25af5",
  "rgb": {
    "r": 178,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 274.065,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64286,
    "c": 0.22644,
    "h": 307.3
  },
  "luminance": 0.2337
}

Semantic roles & 50–950 ramp

primary
#B25AF5
secondary
#D2EFBC
accent
#E50063
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B25AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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