#B25EF5#B25EF5

#B25EF5 is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.8% C 0.221 H 306.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B25EF5
RGBrgb(178, 94, 245)
HSLhsl(273, 88%, 66%)
HSVhsv(273, 62%, 96%)
CMYKcmyk(27.3%, 61.6%, 0%, 3.9%)
CIE-LABlab(56.15, 60.04, -62.58)
CIE-LCHlch(56.15, 86.72, 313.82°)
OKLaboklab(64.79% 0.1326 -0.1769)
OKLCHoklch(64.79% 0.221 306.9)
XYZxyz(38.8408, 24.0634, 88.9670)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25EF5 #A1F55E
analogous
#675EF5 #B25EF5 #F55EED
triadic
#B25EF5 #F5B25E #5EF5B2
tetradic
#B25EF5 #F5675E #A1F55E #5EEDF5
square
#B25EF5 #F5675E #A1F55E #5EEDF5
split-complementary
#B25EF5 #EDF55E #5EF567
monochromatic
#770DCC #9624F1 #B25EF5 #CE98F9 #E9D1FC

Accessibility & contrast

On white

3.61
#B25EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#B25EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25EF5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25EF5#FFFFFF#000000##000000
##B25EF51.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FA
Deuteranopia (green-blind)
#4087F2
Tritanopia (blue-blind)
#A77DA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b25ef5;
/* rgb */ color: rgb(178, 94, 245);
/* oklch */ color: oklch(64.8% 0.221 306.9);
Tailwind
colors: {
  custom: {
    50: '#cd90f9',
    500: '#b25ef5',
    950: '#000000',
  },
}
SCSS
$custom: #b25ef5;
$custom-light: #cd90f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ef5",
  "rgb": {
    "r": 178,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 273.377,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64792,
    "c": 0.2211,
    "h": 306.9
  },
  "luminance": 0.24063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B25EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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