#B025E2#B025E2

#B025E2 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.9% C 0.264 H 314.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B025E2
RGBrgb(176, 37, 226)
HSLhsl(284, 77%, 52%)
HSVhsv(284, 84%, 89%)
CMYKcmyk(22.1%, 83.6%, 0%, 11.4%)
CIE-LABlab(47.03, 77.19, -66.63)
CIE-LCHlch(47.03, 101.97, 319.20°)
OKLaboklab(57.85% 0.1844 -0.1885)
OKLCHoklch(57.85% 0.264 314.4)
XYZxyz(32.2912, 16.0454, 73.3329)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B025E2 #57E225
analogous
#5225E2 #B025E2 #E225B6
triadic
#B025E2 #E2B025 #25E2B0
tetradic
#B025E2 #E25225 #57E225 #25B6E2
square
#B025E2 #E25225 #57E225 #25B6E2
split-complementary
#B025E2 #B6E225 #25E252
monochromatic
#60117C #8918B2 #B025E2 #C45BE9 #D791F0

Accessibility & contrast

On white

4.99
#B025E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B025E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B025E2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B025E2#FFFFFF#000000##FFFFFF
##B025E21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#0773DE
Tritanopia (blue-blind)
#AB5788
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b025e2;
/* rgb */ color: rgb(176, 37, 226);
/* oklch */ color: oklch(57.9% 0.264 314.4);
Tailwind
colors: {
  custom: {
    50: '#cd74ec',
    500: '#b025e2',
    950: '#000000',
  },
}
SCSS
$custom: #b025e2;
$custom-light: #cd74ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b025e2",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 226
  },
  "hsl": {
    "h": 284.127,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57853,
    "c": 0.26371,
    "h": 314.4
  },
  "luminance": 0.16044
}

Semantic roles & 50–950 ramp

primary
#B025E2
secondary
#9EDB88
accent
#F33567
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140916
muted
#837B84

Preview Lab

Preview with #B025E2

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

Preview Lab → · Contrast checker → · Palette generator →

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