#B25DE2#B25DE2

#B25DE2 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.5% C 0.203 H 311.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B25DE2
RGBrgb(178, 93, 226)
HSLhsl(278, 70%, 63%)
HSVhsv(278, 59%, 89%)
CMYKcmyk(21.2%, 58.8%, 0%, 11.4%)
CIE-LABlab(54.85, 56.37, -54.03)
CIE-LCHlch(54.85, 78.08, 316.21°)
OKLaboklab(63.49% 0.1341 -0.1518)
OKLCHoklch(63.49% 0.203 311.5)
XYZxyz(35.9994, 22.7855, 74.4384)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25DE2 #8DE25D
analogous
#6F5DE2 #B25DE2 #E25DD0
triadic
#B25DE2 #E2B25D #5DE2B2
tetradic
#B25DE2 #E26F5D #8DE25D #5DD0E2
square
#B25DE2 #E26F5D #8DE25D #5DD0E2
split-complementary
#B25DE2 #D0E25D #5DE26F
monochromatic
#751EA7 #9929D9 #B25DE2 #CB91EB #E3C5F5

Accessibility & contrast

On white

3.78
#B25DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#B25DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25DE2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25DE2#FFFFFF#000000##000000
##B25DE21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7FE6
Deuteranopia (green-blind)
#5285DF
Tritanopia (blue-blind)
#AC7597
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b25de2;
/* rgb */ color: rgb(178, 93, 226);
/* oklch */ color: oklch(63.5% 0.203 311.5);
Tailwind
colors: {
  custom: {
    50: '#cc8fec',
    500: '#b25de2',
    950: '#000000',
  },
}
SCSS
$custom: #b25de2;
$custom-light: #cc8fec;
$custom-dark: #000000;
JSON
{
  "hex": "#b25de2",
  "rgb": {
    "r": 178,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 278.346,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63487,
    "c": 0.2026,
    "h": 311.5
  },
  "luminance": 0.22785
}

Semantic roles & 50–950 ramp

primary
#B25DE2
secondary
#C7E6B5
accent
#D21458
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B25DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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