#7252DF#7252DF

#7252DF is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.1% C 0.204 H 288.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7252DF
RGBrgb(114, 82, 223)
HSLhsl(254, 69%, 60%)
HSVhsv(254, 63%, 87%)
CMYKcmyk(48.9%, 63.2%, 0%, 12.5%)
CIE-LABlab(45.55, 47.50, -67.68)
CIE-LCHlch(45.55, 82.69, 305.06°)
OKLaboklab(55.09% 0.0639 -0.1939)
OKLCHoklch(55.09% 0.204 288.2)
XYZxyz(23.2721, 14.9387, 71.4550)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252DF #BFDF52
analogous
#5279DF #7252DF #B852DF
triadic
#7252DF #DF7252 #52DF72
tetradic
#7252DF #DF5279 #BFDF52 #52DFB8
square
#7252DF #DF5279 #BFDF52 #52DFB8
split-complementary
#7252DF #DFB852 #79DF52
monochromatic
#391D9A #4C26CE #7252DF #9C86E9 #C6B9F2

Accessibility & contrast

On white

5.27
#7252DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7252DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252DF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252DF#FFFFFF#000000##FFFFFF
##7252DF1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#4C7491
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7252df;
/* rgb */ color: rgb(114, 82, 223);
/* oklch */ color: oklch(55.1% 0.204 288.2);
Tailwind
colors: {
  custom: {
    50: '#a384ea',
    500: '#7252df',
    950: '#000000',
  },
}
SCSS
$custom: #7252df;
$custom-light: #a384ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7252df",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 253.617,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55086,
    "c": 0.20415,
    "h": 288.2
  },
  "luminance": 0.1494
}

Semantic roles & 50–950 ramp

primary
#7252DF
secondary
#D5E2AB
accent
#EC3CC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7252DF

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

Preview Lab → · Contrast checker → · Palette generator →

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