#B25AF2#B25AF2

#B25AF2 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.1% C 0.223 H 307.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B25AF2
RGBrgb(178, 90, 242)
HSLhsl(275, 85%, 65%)
HSVhsv(275, 63%, 95%)
CMYKcmyk(26.4%, 62.8%, 0%, 5.1%)
CIE-LABlab(55.27, 61.29, -62.33)
CIE-LCHlch(55.27, 87.42, 314.52°)
OKLaboklab(64.09% 0.1373 -0.1761)
OKLCHoklch(64.09% 0.223 307.9)
XYZxyz(38.0400, 23.1886, 86.4591)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25AF2 #9AF25A
analogous
#665AF2 #B25AF2 #F25AE6
triadic
#B25AF2 #F2B25A #5AF2B2
tetradic
#B25AF2 #F2665A #9AF25A #5AE6F2
square
#B25AF2 #F2665A #9AF25A #5AE6F2
split-complementary
#B25AF2 #E6F25A #5AF266
monochromatic
#770FC2 #9821EE #B25AF2 #CC93F6 #E7CBFB

Accessibility & contrast

On white

3.72
#B25AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B25AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25AF2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25AF2#FFFFFF#000000##000000
##B25AF21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#3F85EF
Tritanopia (blue-blind)
#A8799E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b25af2;
/* rgb */ color: rgb(178, 90, 242);
/* oklch */ color: oklch(64.1% 0.223 307.9);
Tailwind
colors: {
  custom: {
    50: '#cd8df7',
    500: '#b25af2',
    950: '#000000',
  },
}
SCSS
$custom: #b25af2;
$custom-light: #cd8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#b25af2",
  "rgb": {
    "r": 178,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 274.737,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64092,
    "c": 0.22336,
    "h": 307.9
  },
  "luminance": 0.23188
}

Semantic roles & 50–950 ramp

primary
#B25AF2
secondary
#D0EEBA
accent
#E20461
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B25AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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