#7252BC#7252BC

#7252BC is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.5% C 0.160 H 294.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7252BC
RGBrgb(114, 82, 188)
HSLhsl(258, 44%, 53%)
HSVhsv(258, 56%, 74%)
CMYKcmyk(39.4%, 56.4%, 0%, 26.3%)
CIE-LABlab(43.13, 37.66, -51.45)
CIE-LCHlch(43.13, 63.76, 306.20°)
OKLaboklab(52.55% 0.0654 -0.1462)
OKLCHoklch(52.55% 0.16 294.1)
XYZxyz(19.0314, 13.2424, 49.1205)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252BC #9CBC52
analogous
#5267BC #7252BC #A752BC
triadic
#7252BC #BC7252 #52BC72
tetradic
#7252BC #BC5267 #9CBC52 #52BCA7
square
#7252BC #BC5267 #9CBC52 #52BCA7
split-complementary
#7252BC #BCA752 #67BC52
monochromatic
#3D296A #563A97 #7252BC #967ECD #BAAADE

Accessibility & contrast

On white

5.76
#7252BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7252BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252BC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252BC#FFFFFF#000000##FFFFFF
##7252BC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67C0
Deuteranopia (green-blind)
#2664BA
Tritanopia (blue-blind)
#5F687F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7252bc;
/* rgb */ color: rgb(114, 82, 188);
/* oklch */ color: oklch(52.5% 0.160 294.1);
Tailwind
colors: {
  custom: {
    50: '#9f84d1',
    500: '#7252bc',
    950: '#000000',
  },
}
SCSS
$custom: #7252bc;
$custom-light: #9f84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7252bc",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 258.113,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.16014,
    "h": 294.1
  },
  "luminance": 0.13243
}

Semantic roles & 50–950 ramp

primary
#7252BC
secondary
#BECC9E
accent
#D454AD
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7252BC

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

Preview Lab → · Contrast checker → · Palette generator →

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