#B25FF8#B25FF8

#B25FF8 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.1% C 0.223 H 306.1°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B25FF8
RGBrgb(178, 95, 248)
HSLhsl(273, 92%, 67%)
HSVhsv(273, 62%, 97%)
CMYKcmyk(28.2%, 61.7%, 0%, 2.7%)
CIE-LABlab(56.51, 60.23, -63.66)
CIE-LCHlch(56.51, 87.64, 313.41°)
OKLaboklab(65.11% 0.1314 -0.1801)
OKLCHoklch(65.11% 0.223 306.1)
XYZxyz(39.3920, 24.4271, 91.4284)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25FF8 #A5F85F
analogous
#665FF8 #B25FF8 #F85FF2
triadic
#B25FF8 #F8B25F #5FF8B2
tetradic
#B25FF8 #F8665F #A5F85F #5FF2F8
square
#B25FF8 #F8665F #A5F85F #5FF2F8
split-complementary
#B25FF8 #F2F85F #5FF866
monochromatic
#7709D3 #9624F5 #B25FF8 #CE9AFB #EAD4FD

Accessibility & contrast

On white

3.57
#B25FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#B25FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25FF8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25FF8#FFFFFF#000000##000000
##B25FF81.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FD
Deuteranopia (green-blind)
#3E88F5
Tritanopia (blue-blind)
#A67EA3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b25ff8;
/* rgb */ color: rgb(178, 95, 248);
/* oklch */ color: oklch(65.1% 0.223 306.1);
Tailwind
colors: {
  custom: {
    50: '#cd91fb',
    500: '#b25ff8',
    950: '#000000',
  },
}
SCSS
$custom: #b25ff8;
$custom-light: #cd91fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ff8",
  "rgb": {
    "r": 178,
    "g": 95,
    "b": 248
  },
  "hsl": {
    "h": 272.549,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65112,
    "c": 0.22291,
    "h": 306.1
  },
  "luminance": 0.24427
}

Semantic roles & 50–950 ramp

primary
#B25FF8
secondary
#D7F2C1
accent
#E60069
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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