#B25BF5#B25BF5

#B25BF5 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.4% C 0.225 H 307.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B25BF5
RGBrgb(178, 91, 245)
HSLhsl(274, 89%, 66%)
HSVhsv(274, 63%, 96%)
CMYKcmyk(27.3%, 62.9%, 0%, 3.9%)
CIE-LABlab(55.62, 61.48, -63.42)
CIE-LCHlch(55.62, 88.33, 314.11°)
OKLaboklab(64.41% 0.1361 -0.1794)
OKLCHoklch(64.41% 0.225 307.2)
XYZxyz(38.5792, 23.5402, 88.8798)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25BF5 #9EF55B
analogous
#655BF5 #B25BF5 #F55BEB
triadic
#B25BF5 #F5B25B #5BF5B2
tetradic
#B25BF5 #F5655B #9EF55B #5BEBF5
square
#B25BF5 #F5655B #9EF55B #5BEBF5
split-complementary
#B25BF5 #EBF55B #5BF565
monochromatic
#770CC9 #9721F1 #B25BF5 #CD95F9 #E8CEFC

Accessibility & contrast

On white

3.68
#B25BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B25BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25BF5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25BF5#FFFFFF#000000##000000
##B25BF51.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#3C86F2
Tritanopia (blue-blind)
#A77BA0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b25bf5;
/* rgb */ color: rgb(178, 91, 245);
/* oklch */ color: oklch(64.4% 0.225 307.2);
Tailwind
colors: {
  custom: {
    50: '#cd8ef9',
    500: '#b25bf5',
    950: '#000000',
  },
}
SCSS
$custom: #b25bf5;
$custom-light: #cd8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#b25bf5",
  "rgb": {
    "r": 178,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 273.896,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6441,
    "c": 0.22512,
    "h": 307.2
  },
  "luminance": 0.2354
}

Semantic roles & 50–950 ramp

primary
#B25BF5
secondary
#D3EFBC
accent
#E50064
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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