#B25CF8#B25CF8

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

Color values

HEX#B25CF8
RGBrgb(178, 92, 248)
HSLhsl(273, 92%, 67%)
HSVhsv(273, 63%, 97%)
CMYKcmyk(28.2%, 62.9%, 0%, 2.7%)
CIE-LABlab(55.98, 61.67, -64.51)
CIE-LCHlch(55.98, 89.25, 313.71°)
OKLaboklab(64.73% 0.1348 -0.1826)
OKLCHoklch(64.73% 0.227 306.4)
XYZxyz(39.1269, 23.8970, 91.3401)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25CF8 #A2F85C
analogous
#645CF8 #B25CF8 #F85CF0
triadic
#B25CF8 #F8B25C #5CF8B2
tetradic
#B25CF8 #F8645C #A2F85C #5CF0F8
square
#B25CF8 #F8645C #A2F85C #5CF0F8
split-complementary
#B25CF8 #F0F85C #5CF864
monochromatic
#7709D1 #9621F5 #B25CF8 #CE97FB #E9D1FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B25CF8#FFFFFF#000000##000000
##B25CF81.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)
#0083FD
Deuteranopia (green-blind)
#3A87F4
Tritanopia (blue-blind)
#A67CA2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b25cf8;
/* rgb */ color: rgb(178, 92, 248);
/* oklch */ color: oklch(64.7% 0.227 306.4);
Tailwind
colors: {
  custom: {
    50: '#cd8ffb',
    500: '#b25cf8',
    950: '#000000',
  },
}
SCSS
$custom: #b25cf8;
$custom-light: #cd8ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#b25cf8",
  "rgb": {
    "r": 178,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 273.077,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6473,
    "c": 0.22691,
    "h": 306.4
  },
  "luminance": 0.23897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B25CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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