#B25FFB#B25FFB

#B25FFB is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.3% C 0.226 H 305.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B25FFB
RGBrgb(178, 95, 251)
HSLhsl(272, 95%, 68%)
HSVhsv(272, 62%, 98%)
CMYKcmyk(29.1%, 62.2%, 0%, 1.6%)
CIE-LABlab(56.70, 60.91, -65.03)
CIE-LCHlch(56.70, 89.10, 313.13°)
OKLaboklab(65.31% 0.1312 -0.1841)
OKLCHoklch(65.31% 0.226 305.5)
XYZxyz(39.8611, 24.6147, 93.8993)
Luminance0.2461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25FFB #A8FB5F
analogous
#645FFB #B25FFB #FB5FF6
triadic
#B25FFB #FBB25F #5FFBB2
tetradic
#B25FFB #FB645F #A8FB5F #5FF6FB
square
#B25FFB #FB645F #A8FB5F #5FF6FB
split-complementary
#B25FFB #F6FB5F #5FFB64
monochromatic
#7705DA #9523FA #B25FFB #CF9BFC #EBD6FE

Accessibility & contrast

On white

3.55
#B25FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#B25FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25FFB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25FFB#FFFFFF#000000##000000
##B25FFB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#3A88F7
Tritanopia (blue-blind)
#A57FA5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b25ffb;
/* rgb */ color: rgb(178, 95, 251);
/* oklch */ color: oklch(65.3% 0.226 305.5);
Tailwind
colors: {
  custom: {
    50: '#cd91fd',
    500: '#b25ffb',
    950: '#000000',
  },
}
SCSS
$custom: #b25ffb;
$custom-light: #cd91fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ffb",
  "rgb": {
    "r": 178,
    "g": 95,
    "b": 251
  },
  "hsl": {
    "h": 271.923,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65305,
    "c": 0.22607,
    "h": 305.5
  },
  "luminance": 0.24614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B25FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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