#B25FF4#B25FF4

#B25FF4 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.9% C 0.219 H 307.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B25FF4
RGBrgb(178, 95, 244)
HSLhsl(273, 87%, 66%)
HSVhsv(273, 61%, 96%)
CMYKcmyk(27%, 61.1%, 0%, 4.3%)
CIE-LABlab(56.27, 59.33, -61.83)
CIE-LCHlch(56.27, 85.70, 313.82°)
OKLaboklab(64.86% 0.1315 -0.1747)
OKLCHoklch(64.86% 0.219 307)
XYZxyz(38.7780, 24.1815, 88.1950)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25FF4 #A1F45F
analogous
#685FF4 #B25FF4 #F45FEC
triadic
#B25FF4 #F4B25F #5FF4B2
tetradic
#B25FF4 #F4685F #A1F45F #5FECF4
square
#B25FF4 #F4685F #A1F45F #5FECF4
split-complementary
#B25FF4 #ECF45F #5FF468
monochromatic
#770ECB #9626F0 #B25FF4 #CE98F8 #E9D2FC

Accessibility & contrast

On white

3.60
#B25FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#B25FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25FF4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25FF4#FFFFFF#000000##000000
##B25FF41.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A84F9
Deuteranopia (green-blind)
#4388F1
Tritanopia (blue-blind)
#A77DA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b25ff4;
/* rgb */ color: rgb(178, 95, 244);
/* oklch */ color: oklch(64.9% 0.219 307.0);
Tailwind
colors: {
  custom: {
    50: '#cd90f8',
    500: '#b25ff4',
    950: '#000000',
  },
}
SCSS
$custom: #b25ff4;
$custom-light: #cd90f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ff4",
  "rgb": {
    "r": 178,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 273.423,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64857,
    "c": 0.21868,
    "h": 307
  },
  "luminance": 0.24181
}

Semantic roles & 50–950 ramp

primary
#B25FF4
secondary
#D5F0BF
accent
#E40266
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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