#7252B0#7252B0

#7252B0 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.8% C 0.144 H 296.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7252B0
RGBrgb(114, 82, 176)
HSLhsl(260, 37%, 51%)
HSVhsv(260, 53%, 69%)
CMYKcmyk(35.2%, 53.4%, 0%, 31%)
CIE-LABlab(42.38, 34.39, -45.61)
CIE-LCHlch(42.38, 57.12, 307.01°)
OKLaboklab(51.75% 0.065 -0.129)
OKLCHoklch(51.75% 0.144 296.7)
XYZxyz(17.7912, 12.7463, 42.5888)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252B0 #90B052
analogous
#5261B0 #7252B0 #A152B0
triadic
#7252B0 #B07252 #52B072
tetradic
#7252B0 #B05261 #90B052 #52B0A1
square
#7252B0 #B05261 #90B052 #52B0A1
split-complementary
#7252B0 #B0A152 #61B052
monochromatic
#3C2B5D #573E87 #7252B0 #947CC3 #B6A6D6

Accessibility & contrast

On white

5.92
#7252B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7252B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252B0
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252B0#FFFFFF#000000##FFFFFF
##7252B01.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B3
Deuteranopia (green-blind)
#3563AE
Tritanopia (blue-blind)
#646579
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7252b0;
/* rgb */ color: rgb(114, 82, 176);
/* oklch */ color: oklch(51.8% 0.144 296.7);
Tailwind
colors: {
  custom: {
    50: '#9e83c8',
    500: '#7252b0',
    950: '#000000',
  },
}
SCSS
$custom: #7252b0;
$custom-light: #9e83c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7252b0",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 176
  },
  "hsl": {
    "h": 260.426,
    "s": 37.302,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51753,
    "c": 0.14448,
    "h": 296.7
  },
  "luminance": 0.12747
}

Semantic roles & 50–950 ramp

primary
#7252B0
secondary
#B6C49A
accent
#CD5BA6
background
#FAF8FC
surface
#F3EFF8
border
#CDCAD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7252B0

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

Preview Lab → · Contrast checker → · Palette generator →

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