#7252FC#7252FC

#7252FC is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.239 H 284.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7252FC
RGBrgb(114, 82, 252)
HSLhsl(251, 97%, 65%)
HSVhsv(251, 67%, 99%)
CMYKcmyk(54.8%, 67.5%, 0%, 1.2%)
CIE-LABlab(47.80, 55.78, -80.33)
CIE-LCHlch(47.80, 97.79, 304.78°)
OKLaboklab(57.41% 0.0603 -0.231)
OKLCHoklch(57.41% 0.239 284.6)
XYZxyz(27.5221, 16.6387, 93.8379)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252FC #DCFC52
analogous
#5287FC #7252FC #C752FC
triadic
#7252FC #FC7252 #52FC72
tetradic
#7252FC #FC5287 #DCFC52 #52FCC7
square
#7252FC #FC5287 #DCFC52 #52FCC7
split-complementary
#7252FC #FCC752 #87FC52
monochromatic
#2A04D0 #4116FB #7252FC #A38EFD #D4CAFE

Accessibility & contrast

On white

4.85
#7252FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7252FC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252FC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252FC#FFFFFF#000000##FFFFFF
##7252FC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#006CF9
Tritanopia (blue-blind)
#317EA1
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7252fc;
/* rgb */ color: rgb(114, 82, 252);
/* oklch */ color: oklch(57.4% 0.239 284.6);
Tailwind
colors: {
  custom: {
    50: '#a785ff',
    500: '#7252fc',
    950: '#000000',
  },
}
SCSS
$custom: #7252fc;
$custom-light: #a785ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7252fc",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 252
  },
  "hsl": {
    "h": 251.294,
    "s": 96.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.5741,
    "c": 0.23876,
    "h": 284.6
  },
  "luminance": 0.1664
}

Semantic roles & 50–950 ramp

primary
#7252FC
secondary
#E7F1B8
accent
#E600BA
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7252FC

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

Preview Lab → · Contrast checker → · Palette generator →

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