#B25DF2#B25DF2

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

Color values

HEX#B25DF2
RGBrgb(178, 93, 242)
HSLhsl(274, 85%, 66%)
HSVhsv(274, 62%, 95%)
CMYKcmyk(26.4%, 61.6%, 0%, 5.1%)
CIE-LABlab(55.79, 59.86, -61.49)
CIE-LCHlch(55.79, 85.81, 314.23°)
OKLaboklab(64.47% 0.1339 -0.1737)
OKLCHoklch(64.47% 0.219 307.6)
XYZxyz(38.2982, 23.7050, 86.5451)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25DF2 #9DF25D
analogous
#675DF2 #B25DF2 #F25DE8
triadic
#B25DF2 #F2B25D #5DF2B2
tetradic
#B25DF2 #F2675D #9DF25D #5DE8F2
square
#B25DF2 #F2675D #9DF25D #5DE8F2
split-complementary
#B25DF2 #E8F25D #5DF267
monochromatic
#7710C5 #9724ED #B25DF2 #CD96F7 #E8CEFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B25DF2#FFFFFF#000000##000000
##B25DF21.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)
#0483F7
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#A87B9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b25df2;
/* rgb */ color: rgb(178, 93, 242);
/* oklch */ color: oklch(64.5% 0.219 307.6);
Tailwind
colors: {
  custom: {
    50: '#cd8ff7',
    500: '#b25df2',
    950: '#000000',
  },
}
SCSS
$custom: #b25df2;
$custom-light: #cd8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b25df2",
  "rgb": {
    "r": 178,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 274.228,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64472,
    "c": 0.21931,
    "h": 307.6
  },
  "luminance": 0.23704
}

Semantic roles & 50–950 ramp

primary
#B25DF2
secondary
#D2EEBD
accent
#E20463
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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