#B25DEC#B25DEC

#B25DEC is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.1% C 0.213 H 309.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B25DEC
RGBrgb(178, 93, 236)
HSLhsl(276, 79%, 65%)
HSVhsv(276, 61%, 93%)
CMYKcmyk(24.6%, 60.6%, 0%, 7.5%)
CIE-LABlab(55.43, 58.54, -58.71)
CIE-LCHlch(55.43, 82.91, 314.91°)
OKLaboklab(64.1% 0.1341 -0.1655)
OKLCHoklch(64.1% 0.213 309)
XYZxyz(37.4118, 23.3504, 81.8769)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25DEC #97EC5D
analogous
#6A5DEC #B25DEC #EC5DDF
triadic
#B25DEC #ECB25D #5DECB2
tetradic
#B25DEC #EC6A5D #97EC5D #5DDFEC
square
#B25DEC #EC6A5D #97EC5D #5DDFEC
split-complementary
#B25DEC #DFEC5D #5DEC6A
monochromatic
#7716B9 #9826E6 #B25DEC #CC94F2 #E6CBF9

Accessibility & contrast

On white

3.70
#B25DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#B25DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25DEC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25DEC#FFFFFF#000000##000000
##B25DEC1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B81F0
Deuteranopia (green-blind)
#4986E9
Tritanopia (blue-blind)
#AA799C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b25dec;
/* rgb */ color: rgb(178, 93, 236);
/* oklch */ color: oklch(64.1% 0.213 309.0);
Tailwind
colors: {
  custom: {
    50: '#cd8ff3',
    500: '#b25dec',
    950: '#000000',
  },
}
SCSS
$custom: #b25dec;
$custom-light: #cd8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#b25dec",
  "rgb": {
    "r": 178,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 275.664,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64096,
    "c": 0.21304,
    "h": 309
  },
  "luminance": 0.2335
}

Semantic roles & 50–950 ramp

primary
#B25DEC
secondary
#CEEBBA
accent
#DB0A5F
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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