#B25EFB#B25EFB

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

Color values

HEX#B25EFB
RGBrgb(178, 94, 251)
HSLhsl(272, 95%, 68%)
HSVhsv(272, 63%, 98%)
CMYKcmyk(29.1%, 62.5%, 0%, 1.6%)
CIE-LABlab(56.52, 61.39, -65.31)
CIE-LCHlch(56.52, 89.63, 313.23°)
OKLaboklab(65.18% 0.1323 -0.1849)
OKLCHoklch(65.18% 0.227 305.6)
XYZxyz(39.7716, 24.4357, 93.8694)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25EFB #A7FB5E
analogous
#635EFB #B25EFB #FB5EF6
triadic
#B25EFB #FBB25E #5EFBB2
tetradic
#B25EFB #FB635E #A7FB5E #5EF6FB
square
#B25EFB #FB635E #A7FB5E #5EF6FB
split-complementary
#B25EFB #F6FB5E #5EFB63
monochromatic
#7705D9 #9522FA #B25EFB #CF9AFC #EBD5FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B25EFB#FFFFFF#000000##000000
##B25EFB1.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)
#0085FF
Deuteranopia (green-blind)
#3888F7
Tritanopia (blue-blind)
#A57FA4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b25efb;
/* rgb */ color: rgb(178, 94, 251);
/* oklch */ color: oklch(65.2% 0.227 305.6);
Tailwind
colors: {
  custom: {
    50: '#ce90fd',
    500: '#b25efb',
    950: '#000000',
  },
}
SCSS
$custom: #b25efb;
$custom-light: #ce90fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b25efb",
  "rgb": {
    "r": 178,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 272.102,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65178,
    "c": 0.2274,
    "h": 305.6
  },
  "luminance": 0.24435
}

Semantic roles & 50–950 ramp

primary
#B25EFB
secondary
#D9F3C2
accent
#E6006B
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B25EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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