#B25CEC#B25CEC

#B25CEC is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.0% C 0.214 H 309.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B25CEC
RGBrgb(178, 92, 236)
HSLhsl(276, 79%, 64%)
HSVhsv(276, 61%, 93%)
CMYKcmyk(24.6%, 61%, 0%, 7.5%)
CIE-LABlab(55.25, 59.02, -59.00)
CIE-LCHlch(55.25, 83.45, 315.01°)
OKLaboklab(63.97% 0.1353 -0.1664)
OKLCHoklch(63.97% 0.214 309.1)
XYZxyz(37.3246, 23.1760, 81.8478)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25CEC #96EC5C
analogous
#6A5CEC #B25CEC #EC5CDE
triadic
#B25CEC #ECB25C #5CECB2
tetradic
#B25CEC #EC6A5C #96EC5C #5CDEEC
square
#B25CEC #EC6A5C #96EC5C #5CDEEC
split-complementary
#B25CEC #DEEC5C #5CEC6A
monochromatic
#7715B8 #9825E6 #B25CEC #CC93F2 #E6CAF9

Accessibility & contrast

On white

3.73
#B25CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B25CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25CEC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25CEC#FFFFFF#000000##000000
##B25CEC1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1781F1
Deuteranopia (green-blind)
#4885E9
Tritanopia (blue-blind)
#AA789C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b25cec;
/* rgb */ color: rgb(178, 92, 236);
/* oklch */ color: oklch(64.0% 0.214 309.1);
Tailwind
colors: {
  custom: {
    50: '#cd8ef3',
    500: '#b25cec',
    950: '#000000',
  },
}
SCSS
$custom: #b25cec;
$custom-light: #cd8ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b25cec",
  "rgb": {
    "r": 178,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 275.833,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63967,
    "c": 0.21442,
    "h": 309.1
  },
  "luminance": 0.23175
}

Semantic roles & 50–950 ramp

primary
#B25CEC
secondary
#CDEBB9
accent
#DB0A5E
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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