#7252BF#7252BF

#7252BF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.8% C 0.164 H 293.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7252BF
RGBrgb(114, 82, 191)
HSLhsl(258, 46%, 54%)
HSVhsv(258, 57%, 75%)
CMYKcmyk(40.3%, 57.1%, 0%, 25.1%)
CIE-LABlab(43.32, 38.49, -52.88)
CIE-LCHlch(43.32, 65.41, 306.05°)
OKLaboklab(52.75% 0.0655 -0.1504)
OKLCHoklch(52.75% 0.164 293.5)
XYZxyz(19.3582, 13.3731, 50.8415)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252BF #9FBF52
analogous
#5268BF #7252BF #A952BF
triadic
#7252BF #BF7252 #52BF72
tetradic
#7252BF #BF5268 #9FBF52 #52BFA9
square
#7252BF #BF5268 #9FBF52 #52BFA9
split-complementary
#7252BF #BFA952 #68BF52
monochromatic
#3D296E #56399B #7252BF #967FD0 #BBABE0

Accessibility & contrast

On white

5.71
#7252BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7252BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252BF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252BF#FFFFFF#000000##FFFFFF
##7252BF1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#2264BD
Tritanopia (blue-blind)
#5E6980
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7252bf;
/* rgb */ color: rgb(114, 82, 191);
/* oklch */ color: oklch(52.8% 0.164 293.5);
Tailwind
colors: {
  custom: {
    50: '#9f84d3',
    500: '#7252bf',
    950: '#000000',
  },
}
SCSS
$custom: #7252bf;
$custom-light: #9f84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7252bf",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 257.615,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52751,
    "c": 0.16401,
    "h": 293.5
  },
  "luminance": 0.13374
}

Semantic roles & 50–950 ramp

primary
#7252BF
secondary
#C0CE9F
accent
#D652AF
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7252BF

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

Preview Lab → · Contrast checker → · Palette generator →

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