#B25EF1#B25EF1

#B25EF1 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.5% C 0.217 H 307.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B25EF1
RGBrgb(178, 94, 241)
HSLhsl(274, 84%, 66%)
HSVhsv(274, 61%, 95%)
CMYKcmyk(26.1%, 61%, 0%, 5.5%)
CIE-LABlab(55.91, 59.15, -60.74)
CIE-LCHlch(55.91, 84.78, 314.24°)
OKLaboklab(64.54% 0.1328 -0.1715)
OKLCHoklch(64.54% 0.217 307.8)
XYZxyz(38.2367, 23.8218, 85.7858)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25EF1 #9DF15E
analogous
#685EF1 #B25EF1 #F15EE6
triadic
#B25EF1 #F1B25E #5EF1B2
tetradic
#B25EF1 #F1685E #9DF15E #5EE6F1
square
#B25EF1 #F1685E #9DF15E #5EE6F1
split-complementary
#B25EF1 #E6F15E #5EF168
monochromatic
#7711C4 #9726EC #B25EF1 #CD96F6 #E8CFFB

Accessibility & contrast

On white

3.64
#B25EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#B25EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25EF1
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25EF1#FFFFFF#000000##000000
##B25EF11.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1183F6
Deuteranopia (green-blind)
#4587EE
Tritanopia (blue-blind)
#A87B9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b25ef1;
/* rgb */ color: rgb(178, 94, 241);
/* oklch */ color: oklch(64.5% 0.217 307.8);
Tailwind
colors: {
  custom: {
    50: '#cd90f6',
    500: '#b25ef1',
    950: '#000000',
  },
}
SCSS
$custom: #b25ef1;
$custom-light: #cd90f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ef1",
  "rgb": {
    "r": 178,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 274.286,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64538,
    "c": 0.21689,
    "h": 307.8
  },
  "luminance": 0.23821
}

Semantic roles & 50–950 ramp

primary
#B25EF1
secondary
#D2EEBD
accent
#E00563
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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