#B25BE3#B25BE3

#B25BE3 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.3% C 0.207 H 311.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B25BE3
RGBrgb(178, 91, 227)
HSLhsl(278, 71%, 62%)
HSVhsv(278, 60%, 89%)
CMYKcmyk(21.6%, 59.9%, 0%, 11%)
CIE-LABlab(54.55, 57.56, -55.08)
CIE-LCHlch(54.55, 79.67, 316.26°)
OKLaboklab(63.28% 0.1366 -0.1549)
OKLCHoklch(63.28% 0.207 311.4)
XYZxyz(35.9638, 22.4940, 75.1054)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25BE3 #8CE35B
analogous
#6E5BE3 #B25BE3 #E35BD0
triadic
#B25BE3 #E3B25B #5BE3B2
tetradic
#B25BE3 #E36E5B #8CE35B #5BD0E3
square
#B25BE3 #E36E5B #8CE35B #5BD0E3
split-complementary
#B25BE3 #D0E35B #5BE36E
monochromatic
#751DA7 #9927DA #B25BE3 #CB8FEC #E3C4F5

Accessibility & contrast

On white

3.82
#B25BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#B25BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25BE3
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25BE3#FFFFFF#000000##000000
##B25BE31.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#277EE7
Deuteranopia (green-blind)
#4F84E0
Tritanopia (blue-blind)
#AC7497
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b25be3;
/* rgb */ color: rgb(178, 91, 227);
/* oklch */ color: oklch(63.3% 0.207 311.4);
Tailwind
colors: {
  custom: {
    50: '#cc8eec',
    500: '#b25be3',
    950: '#000000',
  },
}
SCSS
$custom: #b25be3;
$custom-light: #cc8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#b25be3",
  "rgb": {
    "r": 178,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 278.382,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63284,
    "c": 0.20651,
    "h": 311.4
  },
  "luminance": 0.22493
}

Semantic roles & 50–950 ramp

primary
#B25BE3
secondary
#C6E6B4
accent
#D31358
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140D16
muted
#827D84

Preview Lab

Preview with #B25BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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