#B25DFE#B25DFE

#B25DFE is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.2% C 0.232 H 305.1°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B25DFE
RGBrgb(178, 93, 254)
HSLhsl(272, 99%, 68%)
HSVhsv(272, 63%, 100%)
CMYKcmyk(29.9%, 63.4%, 0%, 0.4%)
CIE-LABlab(56.54, 62.54, -66.95)
CIE-LCHlch(56.54, 91.62, 313.05°)
OKLaboklab(65.25% 0.1333 -0.1897)
OKLCHoklch(65.25% 0.232 305.1)
XYZxyz(40.1599, 24.4497, 96.3503)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25DFE #A9FE5D
analogous
#615DFE #B25DFE #FE5DFA
triadic
#B25DFE #FEB25D #5DFEB2
tetradic
#B25DFE #FE615D #A9FE5D #5DFAFE
square
#B25DFE #FE615D #A9FE5D #5DFAFE
split-complementary
#B25DFE #FAFE5D #5DFE61
monochromatic
#7601DF #9520FE #B25DFE #CF9AFE #ECD7FF

Accessibility & contrast

On white

3.57
#B25DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#B25DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25DFE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25DFE#FFFFFF#000000##000000
##B25DFE1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#3288FA
Tritanopia (blue-blind)
#A47FA6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b25dfe;
/* rgb */ color: rgb(178, 93, 254);
/* oklch */ color: oklch(65.2% 0.232 305.1);
Tailwind
colors: {
  custom: {
    50: '#ce90ff',
    500: '#b25dfe',
    950: '#000000',
  },
}
SCSS
$custom: #b25dfe;
$custom-light: #ce90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b25dfe",
  "rgb": {
    "r": 178,
    "g": 93,
    "b": 254
  },
  "hsl": {
    "h": 271.677,
    "s": 98.773,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65248,
    "c": 0.23185,
    "h": 305.1
  },
  "luminance": 0.24449
}

Semantic roles & 50–950 ramp

primary
#B25DFE
secondary
#DAF4C3
accent
#E6006C
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B25DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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