#7252F3#7252F3

#7252F3 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.228 H 285.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7252F3
RGBrgb(114, 82, 243)
HSLhsl(252, 87%, 64%)
HSVhsv(252, 66%, 95%)
CMYKcmyk(53.1%, 66.3%, 0%, 4.7%)
CIE-LABlab(47.08, 53.21, -76.47)
CIE-LCHlch(47.08, 93.16, 304.83°)
OKLaboklab(56.67% 0.0616 -0.2197)
OKLCHoklch(56.67% 0.228 285.7)
XYZxyz(26.1295, 16.0816, 86.5039)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252F3 #D3F352
analogous
#5282F3 #7252F3 #C252F3
triadic
#7252F3 #F37252 #52F372
tetradic
#7252F3 #F35282 #D3F352 #52F3C2
square
#7252F3 #F35282 #D3F352 #52F3C2
split-complementary
#7252F3 #F3C252 #82F352
monochromatic
#300DBD #4319EF #7252F3 #A18BF7 #CFC4FB

Accessibility & contrast

On white

4.98
#7252F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7252F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252F3
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252F3#FFFFFF#000000##FFFFFF
##7252F31.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F8
Deuteranopia (green-blind)
#006BF0
Tritanopia (blue-blind)
#3C7B9C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7252f3;
/* rgb */ color: rgb(114, 82, 243);
/* oklch */ color: oklch(56.7% 0.228 285.7);
Tailwind
colors: {
  custom: {
    50: '#a585f8',
    500: '#7252f3',
    950: '#000000',
  },
}
SCSS
$custom: #7252f3;
$custom-light: #a585f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7252f3",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 251.925,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5667,
    "c": 0.22819,
    "h": 285.7
  },
  "luminance": 0.16083
}

Semantic roles & 50–950 ramp

primary
#7252F3
secondary
#E2EDB4
accent
#E402B7
background
#FAF8FF
surface
#F5EFFF
border
#CFCAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7252F3

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

Preview Lab → · Contrast checker → · Palette generator →

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