#B25AFF#B25AFF

#B25AFF is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.9% C 0.237 H 305.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B25AFF
RGBrgb(178, 90, 255)
HSLhsl(272, 100%, 68%)
HSVhsv(272, 65%, 100%)
CMYKcmyk(30.2%, 64.7%, 0%, 0%)
CIE-LABlab(56.09, 64.18, -68.23)
CIE-LCHlch(56.09, 93.67, 313.25°)
OKLaboklab(64.94% 0.1364 -0.1935)
OKLCHoklch(64.94% 0.237 305.2)
XYZxyz(40.0623, 23.9976, 97.1098)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25AFF #A7FF5A
analogous
#5F5AFF #B25AFF #FF5AF9
triadic
#B25AFF #FFB25A #5AFFB2
tetradic
#B25AFF #FF5F5A #A7FF5A #5AF9FF
square
#B25AFF #FF5F5A #A7FF5A #5AF9FF
split-complementary
#B25AFF #F9FF5A #5AFF5F
monochromatic
#7700DF #951DFF #B25AFF #CF97FF #EBD4FF

Accessibility & contrast

On white

3.62
#B25AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#B25AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25AFF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25AFF#FFFFFF#000000##000000
##B25AFF1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#2A87FB
Tritanopia (blue-blind)
#A47EA5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b25aff;
/* rgb */ color: rgb(178, 90, 255);
/* oklch */ color: oklch(64.9% 0.237 305.2);
Tailwind
colors: {
  custom: {
    50: '#ce8eff',
    500: '#b25aff',
    950: '#000000',
  },
}
SCSS
$custom: #b25aff;
$custom-light: #ce8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b25aff",
  "rgb": {
    "r": 178,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 272,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64944,
    "c": 0.23674,
    "h": 305.2
  },
  "luminance": 0.23997
}

Semantic roles & 50–950 ramp

primary
#B25AFF
secondary
#D9F4C1
accent
#E6006B
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B25AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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