#7252DE#7252DE

#7252DE is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.0% C 0.203 H 288.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7252DE
RGBrgb(114, 82, 222)
HSLhsl(254, 68%, 60%)
HSVhsv(254, 63%, 87%)
CMYKcmyk(48.6%, 63.1%, 0%, 12.9%)
CIE-LABlab(45.48, 47.22, -67.23)
CIE-LCHlch(45.48, 82.16, 305.08°)
OKLaboklab(55.01% 0.064 -0.1926)
OKLCHoklch(55.01% 0.203 288.4)
XYZxyz(23.1377, 14.8849, 70.7470)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252DE #BEDE52
analogous
#5278DE #7252DE #B852DE
triadic
#7252DE #DE7252 #52DE72
tetradic
#7252DE #DE5278 #BEDE52 #52DEB8
square
#7252DE #DE5278 #BEDE52 #52DEB8
split-complementary
#7252DE #DEB852 #78DE52
monochromatic
#391D99 #4D27CC #7252DE #9C85E8 #C6B9F2

Accessibility & contrast

On white

5.28
#7252DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7252DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252DE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252DE#FFFFFF#000000##FFFFFF
##7252DE1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#4D7491
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7252de;
/* rgb */ color: rgb(114, 82, 222);
/* oklch */ color: oklch(55.0% 0.203 288.4);
Tailwind
colors: {
  custom: {
    50: '#a384e9',
    500: '#7252de',
    950: '#000000',
  },
}
SCSS
$custom: #7252de;
$custom-light: #a384e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7252de",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 253.714,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5501,
    "c": 0.20293,
    "h": 288.4
  },
  "luminance": 0.14886
}

Semantic roles & 50–950 ramp

primary
#7252DE
secondary
#D5E1AB
accent
#EB3DC3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7252DE

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

Preview Lab → · Contrast checker → · Palette generator →

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