#7252D5#7252D5

#7252D5 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.192 H 289.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7252D5
RGBrgb(114, 82, 213)
HSLhsl(255, 61%, 58%)
HSVhsv(255, 62%, 84%)
CMYKcmyk(46.5%, 61.5%, 0%, 16.5%)
CIE-LABlab(44.82, 44.66, -63.16)
CIE-LCHlch(44.82, 77.35, 305.26°)
OKLaboklab(54.33% 0.0647 -0.1806)
OKLCHoklch(54.33% 0.192 289.7)
XYZxyz(21.9636, 14.4153, 64.5631)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252D5 #B5D552
analogous
#5274D5 #7252D5 #B352D5
triadic
#7252D5 #D57252 #52D572
tetradic
#7252D5 #D55274 #B5D552 #52D5B3
square
#7252D5 #D55274 #B5D552 #52D5B3
split-complementary
#7252D5 #D5B352 #74D552
monochromatic
#3B228B #502EBC #7252D5 #9A83E1 #C2B4ED

Accessibility & contrast

On white

5.41
#7252D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7252D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252D5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252D5#FFFFFF#000000##FFFFFF
##7252D51.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#53708C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7252d5;
/* rgb */ color: rgb(114, 82, 213);
/* oklch */ color: oklch(54.3% 0.192 289.7);
Tailwind
colors: {
  custom: {
    50: '#a284e3',
    500: '#7252d5',
    950: '#000000',
  },
}
SCSS
$custom: #7252d5;
$custom-light: #a284e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7252d5",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 254.656,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54329,
    "c": 0.19184,
    "h": 289.7
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#7252D5
secondary
#CFDCA7
accent
#E444BD
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7252D5

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

Preview Lab → · Contrast checker → · Palette generator →

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