#B25BE7#B25BE7

#B25BE7 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.5% C 0.211 H 310.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B25BE7
RGBrgb(178, 91, 231)
HSLhsl(277, 74%, 63%)
HSVhsv(277, 61%, 91%)
CMYKcmyk(22.9%, 60.6%, 0%, 9.4%)
CIE-LABlab(54.78, 58.42, -56.96)
CIE-LCHlch(54.78, 81.59, 315.73°)
OKLaboklab(63.53% 0.1365 -0.1604)
OKLCHoklch(63.53% 0.211 310.4)
XYZxyz(36.5223, 22.7174, 78.0468)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25BE7 #90E75B
analogous
#6C5BE7 #B25BE7 #E75BD6
triadic
#B25BE7 #E7B25B #5BE7B2
tetradic
#B25BE7 #E76C5B #90E75B #5BD6E7
square
#B25BE7 #E76C5B #90E75B #5BD6E7
split-complementary
#B25BE7 #D6E75B #5BE76C
monochromatic
#7619AE #9926DF #B25BE7 #CB90EF #E4C6F7

Accessibility & contrast

On white

3.79
#B25BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B25BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25BE7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25BE7#FFFFFF#000000##000000
##B25BE71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#207FEB
Deuteranopia (green-blind)
#4C85E4
Tritanopia (blue-blind)
#AB7699
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b25be7;
/* rgb */ color: rgb(178, 91, 231);
/* oklch */ color: oklch(63.5% 0.211 310.4);
Tailwind
colors: {
  custom: {
    50: '#cd8eef',
    500: '#b25be7',
    950: '#000000',
  },
}
SCSS
$custom: #b25be7;
$custom-light: #cd8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#b25be7",
  "rgb": {
    "r": 178,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 277.286,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63528,
    "c": 0.21064,
    "h": 310.4
  },
  "luminance": 0.22717
}

Semantic roles & 50–950 ramp

primary
#B25BE7
secondary
#C9E8B6
accent
#D70F5A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140D16
muted
#827D84

Preview Lab

Preview with #B25BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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