#B252E3#B252E3

#B252E3 is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.2% C 0.219 H 312.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B252E3
RGBrgb(178, 82, 227)
HSLhsl(280, 72%, 61%)
HSVhsv(280, 64%, 89%)
CMYKcmyk(21.6%, 63.9%, 0%, 11%)
CIE-LABlab(53.00, 61.78, -57.56)
CIE-LCHlch(53.00, 84.44, 317.03°)
OKLaboklab(62.16% 0.1471 -0.1621)
OKLCHoklch(62.16% 0.219 312.2)
XYZxyz(35.2400, 21.0465, 74.8642)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B252E3 #83E352
analogous
#6952E3 #B252E3 #E352CB
triadic
#B252E3 #E3B252 #52E3B2
tetradic
#B252E3 #E36952 #83E352 #52CBE3
square
#B252E3 #E36952 #83E352 #52CBE3
split-complementary
#B252E3 #CBE352 #52E369
monochromatic
#731AA1 #9923D5 #B252E3 #C987EC #E1BBF4

Accessibility & contrast

On white

4.03
#B252E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B252E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B252E3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B252E3#FFFFFF#000000##000000
##B252E31.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE7
Deuteranopia (green-blind)
#4681E0
Tritanopia (blue-blind)
#AC6E93
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b252e3;
/* rgb */ color: rgb(178, 82, 227);
/* oklch */ color: oklch(62.2% 0.219 312.2);
Tailwind
colors: {
  custom: {
    50: '#cd88ec',
    500: '#b252e3',
    950: '#000000',
  },
}
SCSS
$custom: #b252e3;
$custom-light: #cd88ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b252e3",
  "rgb": {
    "r": 178,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 279.724,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62164,
    "c": 0.2189,
    "h": 312.2
  },
  "luminance": 0.21046
}

Semantic roles & 50–950 ramp

primary
#B252E3
secondary
#BFE4AD
accent
#D41153
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B252E3

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

Preview Lab → · Contrast checker → · Palette generator →

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