#B25AF7#B25AF7

#B25AF7 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.4% C 0.229 H 306.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B25AF7
RGBrgb(178, 90, 247)
HSLhsl(274, 91%, 66%)
HSVhsv(274, 64%, 97%)
CMYKcmyk(27.9%, 63.6%, 0%, 3.1%)
CIE-LABlab(55.58, 62.39, -64.61)
CIE-LCHlch(55.58, 89.82, 314.00°)
OKLaboklab(64.42% 0.137 -0.1829)
OKLCHoklch(64.42% 0.229 306.9)
XYZxyz(38.8012, 23.4931, 90.4682)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25AF7 #9FF75A
analogous
#635AF7 #B25AF7 #F75AED
triadic
#B25AF7 #F7B25A #5AF7B2
tetradic
#B25AF7 #F7635A #9FF75A #5AEDF7
square
#B25AF7 #F7635A #9FF75A #5AEDF7
split-complementary
#B25AF7 #EDF75A #5AF763
monochromatic
#770ACD #9720F4 #B25AF7 #CD94FA #E8CFFD

Accessibility & contrast

On white

3.69
#B25AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#B25AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25AF7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25AF7#FFFFFF#000000##000000
##B25AF71.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FC
Deuteranopia (green-blind)
#3886F3
Tritanopia (blue-blind)
#A77BA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b25af7;
/* rgb */ color: rgb(178, 90, 247);
/* oklch */ color: oklch(64.4% 0.229 306.9);
Tailwind
colors: {
  custom: {
    50: '#cd8efb',
    500: '#b25af7',
    950: '#000000',
  },
}
SCSS
$custom: #b25af7;
$custom-light: #cd8efb;
$custom-dark: #000000;
JSON
{
  "hex": "#b25af7",
  "rgb": {
    "r": 178,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 273.631,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64416,
    "c": 0.2285,
    "h": 306.9
  },
  "luminance": 0.23493
}

Semantic roles & 50–950 ramp

primary
#B25AF7
secondary
#D3F0BD
accent
#E60065
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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