#B25BF8#B25BF8

#B25BF8 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.6% C 0.228 H 306.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B25BF8
RGBrgb(178, 91, 248)
HSLhsl(273, 92%, 66%)
HSVhsv(273, 63%, 97%)
CMYKcmyk(28.2%, 63.3%, 0%, 2.7%)
CIE-LABlab(55.81, 62.14, -64.79)
CIE-LCHlch(55.81, 89.78, 313.81°)
OKLaboklab(64.61% 0.1359 -0.1834)
OKLCHoklch(64.61% 0.228 306.5)
XYZxyz(39.0409, 23.7249, 91.3114)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25BF8 #A1F85B
analogous
#645BF8 #B25BF8 #F85BF0
triadic
#B25BF8 #F8B25B #5BF8B2
tetradic
#B25BF8 #F8645B #A1F85B #5BF0F8
square
#B25BF8 #F8645B #A1F85B #5BF0F8
split-complementary
#B25BF8 #F0F85B #5BF864
monochromatic
#7709D0 #9620F5 #B25BF8 #CE96FB #E9D0FD

Accessibility & contrast

On white

3.66
#B25BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#B25BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25BF8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25BF8#FFFFFF#000000##000000
##B25BF81.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FD
Deuteranopia (green-blind)
#3886F4
Tritanopia (blue-blind)
#A67CA2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b25bf8;
/* rgb */ color: rgb(178, 91, 248);
/* oklch */ color: oklch(64.6% 0.228 306.5);
Tailwind
colors: {
  custom: {
    50: '#cd8efb',
    500: '#b25bf8',
    950: '#000000',
  },
}
SCSS
$custom: #b25bf8;
$custom-light: #cd8efb;
$custom-dark: #000000;
JSON
{
  "hex": "#b25bf8",
  "rgb": {
    "r": 178,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 273.248,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64605,
    "c": 0.22823,
    "h": 306.5
  },
  "luminance": 0.23724
}

Semantic roles & 50–950 ramp

primary
#B25BF8
secondary
#D5F1BE
accent
#E60066
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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