#7252BD#7252BD

#7252BD is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.6% C 0.161 H 293.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7252BD
RGBrgb(114, 82, 189)
HSLhsl(258, 45%, 53%)
HSVhsv(258, 57%, 74%)
CMYKcmyk(39.7%, 56.6%, 0%, 25.9%)
CIE-LABlab(43.19, 37.94, -51.93)
CIE-LCHlch(43.19, 64.31, 306.15°)
OKLaboklab(52.61% 0.0654 -0.1476)
OKLCHoklch(52.61% 0.161 293.9)
XYZxyz(19.1396, 13.2857, 49.6902)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252BD #9DBD52
analogous
#5267BD #7252BD #A752BD
triadic
#7252BD #BD7252 #52BD72
tetradic
#7252BD #BD5267 #9DBD52 #52BDA7
square
#7252BD #BD5267 #9DBD52 #52BDA7
split-complementary
#7252BD #BDA752 #67BD52
monochromatic
#3D296C #563A98 #7252BD #967ECE #BAABDF

Accessibility & contrast

On white

5.74
#7252BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7252BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252BD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252BD#FFFFFF#000000##FFFFFF
##7252BD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C1
Deuteranopia (green-blind)
#2564BB
Tritanopia (blue-blind)
#5F697F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7252bd;
/* rgb */ color: rgb(114, 82, 189);
/* oklch */ color: oklch(52.6% 0.161 293.9);
Tailwind
colors: {
  custom: {
    50: '#9f84d1',
    500: '#7252bd',
    950: '#000000',
  },
}
SCSS
$custom: #7252bd;
$custom-light: #9f84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7252bd",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 257.944,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52614,
    "c": 0.16143,
    "h": 293.9
  },
  "luminance": 0.13286
}

Semantic roles & 50–950 ramp

primary
#7252BD
secondary
#BFCC9E
accent
#D453AE
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7252BD

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

Preview Lab → · Contrast checker → · Palette generator →

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