#B25EF4#B25EF4

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

Color values

HEX#B25EF4
RGBrgb(178, 94, 244)
HSLhsl(274, 87%, 66%)
HSVhsv(274, 61%, 96%)
CMYKcmyk(27%, 61.5%, 0%, 4.3%)
CIE-LABlab(56.09, 59.82, -62.12)
CIE-LCHlch(56.09, 86.24, 313.92°)
OKLaboklab(64.73% 0.1327 -0.1755)
OKLCHoklch(64.73% 0.22 307.1)
XYZxyz(38.6885, 24.0025, 88.1652)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25EF4 #A0F45E
analogous
#675EF4 #B25EF4 #F45EEB
triadic
#B25EF4 #F4B25E #5EF4B2
tetradic
#B25EF4 #F4675E #A0F45E #5EEBF4
square
#B25EF4 #F4675E #A0F45E #5EEBF4
split-complementary
#B25EF4 #EBF45E #5EF467
monochromatic
#770ECA #9725F0 #B25EF4 #CD97F8 #E9D1FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B25EF4#FFFFFF#000000##000000
##B25EF41.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)
#0183F9
Deuteranopia (green-blind)
#4187F1
Tritanopia (blue-blind)
#A77CA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b25ef4;
/* rgb */ color: rgb(178, 94, 244);
/* oklch */ color: oklch(64.7% 0.220 307.1);
Tailwind
colors: {
  custom: {
    50: '#cd90f8',
    500: '#b25ef4',
    950: '#000000',
  },
}
SCSS
$custom: #b25ef4;
$custom-light: #cd90f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ef4",
  "rgb": {
    "r": 178,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 273.6,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64728,
    "c": 0.22004,
    "h": 307.1
  },
  "luminance": 0.24002
}

Semantic roles & 50–950 ramp

primary
#B25EF4
secondary
#D4EFBE
accent
#E40265
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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