#B25DF7#B25DF7

#B25DF7 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.8% C 0.225 H 306.5°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B25DF7
RGBrgb(178, 93, 247)
HSLhsl(273, 91%, 67%)
HSVhsv(273, 62%, 97%)
CMYKcmyk(27.9%, 62.3%, 0%, 3.1%)
CIE-LABlab(56.10, 60.97, -63.78)
CIE-LCHlch(56.10, 88.23, 313.71°)
OKLaboklab(64.79% 0.1337 -0.1804)
OKLCHoklch(64.79% 0.225 306.5)
XYZxyz(39.0594, 24.0095, 90.5543)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25DF7 #A2F75D
analogous
#655DF7 #B25DF7 #F75DEF
triadic
#B25DF7 #F7B25D #5DF7B2
tetradic
#B25DF7 #F7655D #A2F75D #5DEFF7
square
#B25DF7 #F7655D #A2F75D #5DEFF7
split-complementary
#B25DF7 #EFF75D #5DF765
monochromatic
#770ACF #9623F4 #B25DF7 #CE97FA #E9D2FD

Accessibility & contrast

On white

3.62
#B25DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#B25DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25DF7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25DF7#FFFFFF#000000##000000
##B25DF71.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#3C87F4
Tritanopia (blue-blind)
#A77DA2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b25df7;
/* rgb */ color: rgb(178, 93, 247);
/* oklch */ color: oklch(64.8% 0.225 306.5);
Tailwind
colors: {
  custom: {
    50: '#cd8ffb',
    500: '#b25df7',
    950: '#000000',
  },
}
SCSS
$custom: #b25df7;
$custom-light: #cd8ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#b25df7",
  "rgb": {
    "r": 178,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 273.117,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64792,
    "c": 0.22454,
    "h": 306.5
  },
  "luminance": 0.24009
}

Semantic roles & 50–950 ramp

primary
#B25DF7
secondary
#D5F1BF
accent
#E60067
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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