#B25BFB#B25BFB

#B25BFB is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.8% C 0.231 H 305.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B25BFB
RGBrgb(178, 91, 251)
HSLhsl(273, 95%, 67%)
HSVhsv(273, 64%, 98%)
CMYKcmyk(29.1%, 63.7%, 0%, 1.6%)
CIE-LABlab(56.00, 62.81, -66.15)
CIE-LCHlch(56.00, 91.22, 313.52°)
OKLaboklab(64.8% 0.1357 -0.1874)
OKLCHoklch(64.8% 0.231 305.9)
XYZxyz(39.5100, 23.9125, 93.7822)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25BFB #A4FB5B
analogous
#625BFB #B25BFB #FB5BF4
triadic
#B25BFB #FBB25B #5BFBB2
tetradic
#B25BFB #FB625B #A4FB5B #5BF4FB
square
#B25BFB #FB625B #A4FB5B #5BF4FB
split-complementary
#B25BFB #F4FB5B #5BFB62
monochromatic
#7705D6 #961FFA #B25BFB #CE97FC #EAD2FE

Accessibility & contrast

On white

3.63
#B25BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#B25BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25BFB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25BFB#FFFFFF#000000##000000
##B25BFB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#3387F7
Tritanopia (blue-blind)
#A57DA3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b25bfb;
/* rgb */ color: rgb(178, 91, 251);
/* oklch */ color: oklch(64.8% 0.231 305.9);
Tailwind
colors: {
  custom: {
    50: '#ce8efd',
    500: '#b25bfb',
    950: '#000000',
  },
}
SCSS
$custom: #b25bfb;
$custom-light: #ce8efd;
$custom-dark: #000000;
JSON
{
  "hex": "#b25bfb",
  "rgb": {
    "r": 178,
    "g": 91,
    "b": 251
  },
  "hsl": {
    "h": 272.625,
    "s": 95.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64801,
    "c": 0.23133,
    "h": 305.9
  },
  "luminance": 0.23912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B25BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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