#7252AF#7252AF

#7252AF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.7% C 0.143 H 297.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7252AF
RGBrgb(114, 82, 175)
HSLhsl(261, 37%, 50%)
HSVhsv(261, 53%, 69%)
CMYKcmyk(34.9%, 53.1%, 0%, 31.4%)
CIE-LABlab(42.32, 34.12, -45.12)
CIE-LCHlch(42.32, 56.57, 307.09°)
OKLaboklab(51.69% 0.065 -0.1276)
OKLCHoklch(51.69% 0.143 297)
XYZxyz(17.6927, 12.7069, 42.0697)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252AF #8FAF52
analogous
#5260AF #7252AF #A052AF
triadic
#7252AF #AF7252 #52AF72
tetradic
#7252AF #AF5260 #8FAF52 #52AFA0
square
#7252AF #AF5260 #8FAF52 #52AFA0
split-complementary
#7252AF #AFA052 #60AF52
monochromatic
#3C2B5C #573E86 #7252AF #947CC2 #B6A6D6

Accessibility & contrast

On white

5.93
#7252AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7252AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252AF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252AF#FFFFFF#000000##FFFFFF
##7252AF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#646478
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7252af;
/* rgb */ color: rgb(114, 82, 175);
/* oklch */ color: oklch(51.7% 0.143 297.0);
Tailwind
colors: {
  custom: {
    50: '#9e83c7',
    500: '#7252af',
    950: '#000000',
  },
}
SCSS
$custom: #7252af;
$custom-light: #9e83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7252af",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 260.645,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51689,
    "c": 0.14317,
    "h": 297
  },
  "luminance": 0.12707
}

Semantic roles & 50–950 ramp

primary
#7252AF
secondary
#B5C39A
accent
#CD5BA6
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0B13
muted
#7E7C82

Preview Lab

Preview with #7252AF

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

Preview Lab → · Contrast checker → · Palette generator →

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