#B25CE7#B25CE7

#B25CE7 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.7% C 0.209 H 310.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B25CE7
RGBrgb(178, 92, 231)
HSLhsl(277, 74%, 63%)
HSVhsv(277, 60%, 91%)
CMYKcmyk(22.9%, 60.2%, 0%, 9.4%)
CIE-LABlab(54.96, 57.93, -56.67)
CIE-LCHlch(54.96, 81.04, 315.63°)
OKLaboklab(63.66% 0.1354 -0.1595)
OKLCHoklch(63.66% 0.209 310.3)
XYZxyz(36.6083, 22.8895, 78.0754)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25CE7 #91E75C
analogous
#6C5CE7 #B25CE7 #E75CD7
triadic
#B25CE7 #E7B25C #5CE7B2
tetradic
#B25CE7 #E76C5C #91E75C #5CD7E7
square
#B25CE7 #E76C5C #91E75C #5CD7E7
split-complementary
#B25CE7 #D7E75C #5CE76C
monochromatic
#761AAF #9927DF #B25CE7 #CB91EF #E4C7F7

Accessibility & contrast

On white

3.76
#B25CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#B25CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25CE7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25CE7#FFFFFF#000000##000000
##B25CE71.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2380EB
Deuteranopia (green-blind)
#4D85E4
Tritanopia (blue-blind)
#AB7699
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b25ce7;
/* rgb */ color: rgb(178, 92, 231);
/* oklch */ color: oklch(63.7% 0.209 310.3);
Tailwind
colors: {
  custom: {
    50: '#cd8eef',
    500: '#b25ce7',
    950: '#000000',
  },
}
SCSS
$custom: #b25ce7;
$custom-light: #cd8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ce7",
  "rgb": {
    "r": 178,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 277.122,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63658,
    "c": 0.20923,
    "h": 310.3
  },
  "luminance": 0.22889
}

Semantic roles & 50–950 ramp

primary
#B25CE7
secondary
#CAE8B7
accent
#D60F5B
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B25CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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