#7252CA#7252CA

#7252CA is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.5% C 0.178 H 291.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7252CA
RGBrgb(114, 82, 202)
HSLhsl(256, 53%, 56%)
HSVhsv(256, 59%, 79%)
CMYKcmyk(43.6%, 59.4%, 0%, 20.8%)
CIE-LABlab(44.05, 41.56, -58.08)
CIE-LCHlch(44.05, 71.41, 305.58°)
OKLaboklab(53.52% 0.0653 -0.1656)
OKLCHoklch(53.52% 0.178 291.5)
XYZxyz(20.6144, 13.8756, 57.4578)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252CA #AACA52
analogous
#526ECA #7252CA #AE52CA
triadic
#7252CA #CA7252 #52CA72
tetradic
#7252CA #CA526E #AACA52 #52CAAE
square
#7252CA #CA526E #AACA52 #52CAAE
split-complementary
#7252CA #CAAE52 #6ECA52
monochromatic
#3D267C #5434AB #7252CA #9881D8 #BEB0E7

Accessibility & contrast

On white

5.56
#7252CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7252CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252CA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252CA#FFFFFF#000000##FFFFFF
##7252CA1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0066C7
Tritanopia (blue-blind)
#596D86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7252ca;
/* rgb */ color: rgb(114, 82, 202);
/* oklch */ color: oklch(53.5% 0.178 291.5);
Tailwind
colors: {
  custom: {
    50: '#a084db',
    500: '#7252ca',
    950: '#000000',
  },
}
SCSS
$custom: #7252ca;
$custom-light: #a084db;
$custom-dark: #000000;
JSON
{
  "hex": "#7252ca",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 256,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53524,
    "c": 0.17805,
    "h": 291.5
  },
  "luminance": 0.13876
}

Semantic roles & 50–950 ramp

primary
#7252CA
secondary
#C8D5A3
accent
#DD4BB6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7252CA

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

Preview Lab → · Contrast checker → · Palette generator →

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