#B25BF1#B25BF1

#B25BF1 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.2% C 0.221 H 308.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B25BF1
RGBrgb(178, 91, 241)
HSLhsl(275, 84%, 65%)
HSVhsv(275, 62%, 95%)
CMYKcmyk(26.1%, 62.2%, 0%, 5.5%)
CIE-LABlab(55.38, 60.60, -61.59)
CIE-LCHlch(55.38, 86.40, 314.53°)
OKLaboklab(64.15% 0.1363 -0.174)
OKLCHoklch(64.15% 0.221 308.1)
XYZxyz(37.9751, 23.2986, 85.6986)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25BF1 #9AF15B
analogous
#675BF1 #B25BF1 #F15BE5
triadic
#B25BF1 #F1B25B #5BF1B2
tetradic
#B25BF1 #F1675B #9AF15B #5BE5F1
square
#B25BF1 #F1675B #9AF15B #5BE5F1
split-complementary
#B25BF1 #E5F15B #5BF167
monochromatic
#7710C1 #9823EC #B25BF1 #CC93F6 #E7CCFB

Accessibility & contrast

On white

3.71
#B25BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B25BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25BF1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25BF1#FFFFFF#000000##000000
##B25BF11.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F6
Deuteranopia (green-blind)
#4186EE
Tritanopia (blue-blind)
#A8799E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b25bf1;
/* rgb */ color: rgb(178, 91, 241);
/* oklch */ color: oklch(64.2% 0.221 308.1);
Tailwind
colors: {
  custom: {
    50: '#cd8ef6',
    500: '#b25bf1',
    950: '#000000',
  },
}
SCSS
$custom: #b25bf1;
$custom-light: #cd8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#b25bf1",
  "rgb": {
    "r": 178,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 274.8,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64154,
    "c": 0.22098,
    "h": 308.1
  },
  "luminance": 0.23298
}

Semantic roles & 50–950 ramp

primary
#B25BF1
secondary
#D0EDBA
accent
#E10561
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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