#B25DF4#B25DF4

#B25DF4 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.6% C 0.221 H 307.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B25DF4
RGBrgb(178, 93, 244)
HSLhsl(274, 87%, 66%)
HSVhsv(274, 62%, 96%)
CMYKcmyk(27%, 61.9%, 0%, 4.3%)
CIE-LABlab(55.91, 60.30, -62.40)
CIE-LCHlch(55.91, 86.78, 314.02°)
OKLaboklab(64.6% 0.1338 -0.1764)
OKLCHoklch(64.6% 0.221 307.2)
XYZxyz(38.6002, 23.8258, 88.1358)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25DF4 #9FF45D
analogous
#665DF4 #B25DF4 #F45DEA
triadic
#B25DF4 #F4B25D #5DF4B2
tetradic
#B25DF4 #F4665D #9FF45D #5DEAF4
square
#B25DF4 #F4665D #9FF45D #5DEAF4
split-complementary
#B25DF4 #EAF45D #5DF466
monochromatic
#770EC9 #9724F0 #B25DF4 #CD96F8 #E8D0FC

Accessibility & contrast

On white

3.64
#B25DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#B25DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25DF4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25DF4#FFFFFF#000000##000000
##B25DF41.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F9
Deuteranopia (green-blind)
#4087F1
Tritanopia (blue-blind)
#A77CA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b25df4;
/* rgb */ color: rgb(178, 93, 244);
/* oklch */ color: oklch(64.6% 0.221 307.2);
Tailwind
colors: {
  custom: {
    50: '#cd8ff8',
    500: '#b25df4',
    950: '#000000',
  },
}
SCSS
$custom: #b25df4;
$custom-light: #cd8ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#b25df4",
  "rgb": {
    "r": 178,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 273.775,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64599,
    "c": 0.2214,
    "h": 307.2
  },
  "luminance": 0.23825
}

Semantic roles & 50–950 ramp

primary
#B25DF4
secondary
#D3EFBE
accent
#E40265
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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