#B25DEB#B25DEB

#B25DEB is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.0% C 0.212 H 309.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B25DEB
RGBrgb(178, 93, 235)
HSLhsl(276, 78%, 64%)
HSVhsv(276, 60%, 92%)
CMYKcmyk(24.3%, 60.4%, 0%, 7.8%)
CIE-LABlab(55.37, 58.32, -58.25)
CIE-LCHlch(55.37, 82.43, 315.03°)
OKLaboklab(64.03% 0.1341 -0.1642)
OKLCHoklch(64.03% 0.212 309.2)
XYZxyz(37.2669, 23.2925, 81.1138)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25DEB #96EB5D
analogous
#6B5DEB #B25DEB #EB5DDD
triadic
#B25DEB #EBB25D #5DEBB2
tetradic
#B25DEB #EB6B5D #96EB5D #5DDDEB
square
#B25DEB #EB6B5D #96EB5D #5DDDEB
split-complementary
#B25DEB #DDEB5D #5DEB6B
monochromatic
#7717B7 #9827E4 #B25DEB #CC93F2 #E6CAF8

Accessibility & contrast

On white

3.71
#B25DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B25DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25DEB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25DEB#FFFFFF#000000##000000
##B25DEB1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E81EF
Deuteranopia (green-blind)
#4A86E8
Tritanopia (blue-blind)
#AA799C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b25deb;
/* rgb */ color: rgb(178, 93, 235);
/* oklch */ color: oklch(64.0% 0.212 309.2);
Tailwind
colors: {
  custom: {
    50: '#cd8ff2',
    500: '#b25deb',
    950: '#000000',
  },
}
SCSS
$custom: #b25deb;
$custom-light: #cd8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b25deb",
  "rgb": {
    "r": 178,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 275.915,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64034,
    "c": 0.21199,
    "h": 309.2
  },
  "luminance": 0.23292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B25DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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