#7252D6#7252D6

#7252D6 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.4% C 0.193 H 289.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7252D6
RGBrgb(114, 82, 214)
HSLhsl(255, 62%, 58%)
HSVhsv(255, 62%, 84%)
CMYKcmyk(46.7%, 61.7%, 0%, 16.1%)
CIE-LABlab(44.89, 44.94, -63.61)
CIE-LCHlch(44.89, 77.89, 305.24°)
OKLaboklab(54.4% 0.0647 -0.1819)
OKLCHoklch(54.4% 0.193 289.6)
XYZxyz(22.0909, 14.4662, 65.2336)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252D6 #B6D652
analogous
#5274D6 #7252D6 #B452D6
triadic
#7252D6 #D67252 #52D672
tetradic
#7252D6 #D65274 #B6D652 #52D6B4
square
#7252D6 #D65274 #B6D652 #52D6B4
split-complementary
#7252D6 #D6B452 #74D652
monochromatic
#3B218C #502DBE #7252D6 #9A83E2 #C3B5ED

Accessibility & contrast

On white

5.39
#7252D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7252D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252D6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252D6#FFFFFF#000000##FFFFFF
##7252D61.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#52718C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7252d6;
/* rgb */ color: rgb(114, 82, 214);
/* oklch */ color: oklch(54.4% 0.193 289.6);
Tailwind
colors: {
  custom: {
    50: '#a284e3',
    500: '#7252d6',
    950: '#000000',
  },
}
SCSS
$custom: #7252d6;
$custom-light: #a284e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7252d6",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 254.545,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54403,
    "c": 0.19308,
    "h": 289.6
  },
  "luminance": 0.14467
}

Semantic roles & 50–950 ramp

primary
#7252D6
secondary
#CFDCA8
accent
#E543BE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7252D6

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

Preview Lab → · Contrast checker → · Palette generator →

#7252D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva