#B25DFA#B25DFA

#B25DFA is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 65.0% C 0.228 H 305.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B25DFA
RGBrgb(178, 93, 250)
HSLhsl(272, 94%, 67%)
HSVhsv(272, 63%, 98%)
CMYKcmyk(28.8%, 62.8%, 0%, 2%)
CIE-LABlab(56.28, 61.64, -65.14)
CIE-LCHlch(56.28, 89.68, 313.42°)
OKLaboklab(64.99% 0.1335 -0.1844)
OKLCHoklch(64.99% 0.228 305.9)
XYZxyz(39.5260, 24.1961, 93.0120)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25DFA #A5FA5D
analogous
#645DFA #B25DFA #FA5DF4
triadic
#B25DFA #FAB25D #5DFAB2
tetradic
#B25DFA #FA645D #A5FA5D #5DF4FA
square
#B25DFA #FA645D #A5FA5D #5DF4FA
split-complementary
#B25DFA #F4FA5D #5DFA64
monochromatic
#7707D6 #9622F8 #B25DFA #CE98FC #EAD4FE

Accessibility & contrast

On white

3.60
#B25DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#B25DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25DFA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25DFA#FFFFFF#000000##000000
##B25DFA1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#3887F6
Tritanopia (blue-blind)
#A67EA3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b25dfa;
/* rgb */ color: rgb(178, 93, 250);
/* oklch */ color: oklch(65.0% 0.228 305.9);
Tailwind
colors: {
  custom: {
    50: '#cd8ffd',
    500: '#b25dfa',
    950: '#000000',
  },
}
SCSS
$custom: #b25dfa;
$custom-light: #cd8ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#b25dfa",
  "rgb": {
    "r": 178,
    "g": 93,
    "b": 250
  },
  "hsl": {
    "h": 272.484,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64986,
    "c": 0.22767,
    "h": 305.9
  },
  "luminance": 0.24196
}

Semantic roles & 50–950 ramp

primary
#B25DFA
secondary
#D7F2C1
accent
#E60069
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B25DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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