#7252FA#7252FA

#7252FA is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.236 H 284.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7252FA
RGBrgb(114, 82, 250)
HSLhsl(251, 94%, 65%)
HSVhsv(251, 67%, 98%)
CMYKcmyk(54.4%, 67.2%, 0%, 2%)
CIE-LABlab(47.64, 55.21, -79.47)
CIE-LCHlch(47.64, 96.77, 304.79°)
OKLaboklab(57.25% 0.0606 -0.2285)
OKLCHoklch(57.25% 0.236 284.9)
XYZxyz(27.2068, 16.5126, 92.1776)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252FA #DAFA52
analogous
#5286FA #7252FA #C652FA
triadic
#7252FA #FA7252 #52FA72
tetradic
#7252FA #FA5286 #DAFA52 #52FAC6
square
#7252FA #FA5286 #DAFA52 #52FAC6
split-complementary
#7252FA #FAC652 #86FA52
monochromatic
#2C06CC #4217F8 #7252FA #A28DFC #D3C9FD

Accessibility & contrast

On white

4.88
#7252FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7252FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252FA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252FA#FFFFFF#000000##FFFFFF
##7252FA1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#006CF7
Tritanopia (blue-blind)
#347DA0
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7252fa;
/* rgb */ color: rgb(114, 82, 250);
/* oklch */ color: oklch(57.2% 0.236 284.9);
Tailwind
colors: {
  custom: {
    50: '#a685fd',
    500: '#7252fa',
    950: '#000000',
  },
}
SCSS
$custom: #7252fa;
$custom-light: #a685fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7252fa",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 250
  },
  "hsl": {
    "h": 251.429,
    "s": 94.382,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57245,
    "c": 0.23643,
    "h": 284.9
  },
  "luminance": 0.16514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7252FA

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

Preview Lab → · Contrast checker → · Palette generator →

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