#7252BE#7252BE

#7252BE is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.7% C 0.163 H 293.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7252BE
RGBrgb(114, 82, 190)
HSLhsl(258, 45%, 53%)
HSVhsv(258, 57%, 75%)
CMYKcmyk(40%, 56.8%, 0%, 25.5%)
CIE-LABlab(43.26, 38.21, -52.41)
CIE-LCHlch(43.26, 64.86, 306.10°)
OKLaboklab(52.68% 0.0655 -0.149)
OKLCHoklch(52.68% 0.163 293.7)
XYZxyz(19.2485, 13.3292, 50.2639)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252BE #9EBE52
analogous
#5268BE #7252BE #A852BE
triadic
#7252BE #BE7252 #52BE72
tetradic
#7252BE #BE5268 #9EBE52 #52BEA8
square
#7252BE #BE5268 #9EBE52 #52BEA8
split-complementary
#7252BE #BEA852 #68BE52
monochromatic
#3D296D #563A99 #7252BE #967ECF #BBABDF

Accessibility & contrast

On white

5.73
#7252BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7252BE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252BE#FFFFFF#000000##FFFFFF
##7252BE1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C2
Deuteranopia (green-blind)
#2364BC
Tritanopia (blue-blind)
#5E6980
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7252be;
/* rgb */ color: rgb(114, 82, 190);
/* oklch */ color: oklch(52.7% 0.163 293.7);
Tailwind
colors: {
  custom: {
    50: '#9f84d2',
    500: '#7252be',
    950: '#000000',
  },
}
SCSS
$custom: #7252be;
$custom-light: #9f84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7252be",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 257.778,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52682,
    "c": 0.16272,
    "h": 293.7
  },
  "luminance": 0.1333
}

Semantic roles & 50–950 ramp

primary
#7252BE
secondary
#BFCD9F
accent
#D553AE
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7252BE

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

Preview Lab → · Contrast checker → · Palette generator →

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