#B25FEC#B25FEC

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

Color values

HEX#B25FEC
RGBrgb(178, 95, 236)
HSLhsl(275, 79%, 65%)
HSVhsv(275, 60%, 93%)
CMYKcmyk(24.6%, 59.7%, 0%, 7.5%)
CIE-LABlab(55.79, 57.56, -58.14)
CIE-LCHlch(55.79, 81.81, 314.72°)
OKLaboklab(64.36% 0.1317 -0.1639)
OKLCHoklch(64.36% 0.21 308.8)
XYZxyz(37.5896, 23.7061, 81.9361)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25FEC #99EC5F
analogous
#6B5FEC #B25FEC #EC5FE0
triadic
#B25FEC #ECB25F #5FECB2
tetradic
#B25FEC #EC6B5F #99EC5F #5FE0EC
square
#B25FEC #EC6B5F #99EC5F #5FE0EC
split-complementary
#B25FEC #E0EC5F #5FEC6B
monochromatic
#7716BA #9828E6 #B25FEC #CC96F2 #E7CCF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B25FEC#FFFFFF#000000##000000
##B25FEC1.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)
#2382F0
Deuteranopia (green-blind)
#4B87E9
Tritanopia (blue-blind)
#AA7A9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b25fec;
/* rgb */ color: rgb(178, 95, 236);
/* oklch */ color: oklch(64.4% 0.210 308.8);
Tailwind
colors: {
  custom: {
    50: '#cd90f3',
    500: '#b25fec',
    950: '#000000',
  },
}
SCSS
$custom: #b25fec;
$custom-light: #cd90f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b25fec",
  "rgb": {
    "r": 178,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 275.319,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64358,
    "c": 0.21023,
    "h": 308.8
  },
  "luminance": 0.23706
}

Semantic roles & 50–950 ramp

primary
#B25FEC
secondary
#CFEBBB
accent
#DB0A60
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B25FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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