#7252C8#7252C8

#7252C8 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.4% C 0.176 H 291.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7252C8
RGBrgb(114, 82, 200)
HSLhsl(256, 52%, 55%)
HSVhsv(256, 59%, 78%)
CMYKcmyk(43%, 59%, 0%, 21.6%)
CIE-LABlab(43.92, 41.00, -57.14)
CIE-LCHlch(43.92, 70.33, 305.66°)
OKLaboklab(53.38% 0.0653 -0.1629)
OKLCHoklch(53.38% 0.176 291.9)
XYZxyz(20.3792, 13.7815, 56.2187)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252C8 #A8C852
analogous
#526DC8 #7252C8 #AD52C8
triadic
#7252C8 #C87252 #52C872
tetradic
#7252C8 #C8526D #A8C852 #52C8AD
square
#7252C8 #C8526D #A8C852 #52C8AD
split-complementary
#7252C8 #C8AD52 #6DC852
monochromatic
#3D2779 #5435A8 #7252C8 #9880D7 #BEAFE6

Accessibility & contrast

On white

5.59
#7252C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7252C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252C8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252C8#FFFFFF#000000##FFFFFF
##7252C81.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0965C5
Tritanopia (blue-blind)
#5A6C85
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7252c8;
/* rgb */ color: rgb(114, 82, 200);
/* oklch */ color: oklch(53.4% 0.176 291.9);
Tailwind
colors: {
  custom: {
    50: '#a084d9',
    500: '#7252c8',
    950: '#000000',
  },
}
SCSS
$custom: #7252c8;
$custom-light: #a084d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7252c8",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 256.271,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53381,
    "c": 0.17551,
    "h": 291.9
  },
  "luminance": 0.13782
}

Semantic roles & 50–950 ramp

primary
#7252C8
secondary
#C6D4A2
accent
#DB4DB5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7252C8

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

Preview Lab → · Contrast checker → · Palette generator →

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