#7252FF#7252FF

#7252FF is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.7% C 0.242 H 284.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7252FF
RGBrgb(114, 82, 255)
HSLhsl(251, 100%, 66%)
HSVhsv(251, 68%, 100%)
CMYKcmyk(55.3%, 67.8%, 0%, 0%)
CIE-LABlab(48.05, 56.64, -81.60)
CIE-LCHlch(48.05, 99.33, 304.77°)
OKLaboklab(57.66% 0.0598 -0.2347)
OKLCHoklch(57.66% 0.242 284.3)
XYZxyz(28.0012, 16.8303, 96.3614)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252FF #DFFF52
analogous
#5288FF #7252FF #C852FF
triadic
#7252FF #FF7252 #52FF72
tetradic
#7252FF #FF5288 #DFFF52 #52FFC8
square
#7252FF #FF5288 #DFFF52 #52FFC8
split-complementary
#7252FF #FFC852 #88FF52
monochromatic
#2800D7 #4015FF #7252FF #A48FFF #D6CCFF

Accessibility & contrast

On white

4.81
#7252FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7252FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252FF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252FF#FFFFFF#000000##FFFFFF
##7252FF1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#006CFC
Tritanopia (blue-blind)
#2D7FA2
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7252ff;
/* rgb */ color: rgb(114, 82, 255);
/* oklch */ color: oklch(57.7% 0.242 284.3);
Tailwind
colors: {
  custom: {
    50: '#a785ff',
    500: '#7252ff',
    950: '#000000',
  },
}
SCSS
$custom: #7252ff;
$custom-light: #a785ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7252ff",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 251.098,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57661,
    "c": 0.24225,
    "h": 284.3
  },
  "luminance": 0.16832
}

Semantic roles & 50–950 ramp

primary
#7252FF
secondary
#E8F3BA
accent
#E600BB
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7252FF

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

Preview Lab → · Contrast checker → · Palette generator →

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