#7251CA#7251CA

#7251CA is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.179 H 291.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7251CA
RGBrgb(114, 81, 202)
HSLhsl(256, 53%, 55%)
HSVhsv(256, 60%, 79%)
CMYKcmyk(43.6%, 59.9%, 0%, 20.8%)
CIE-LABlab(43.84, 42.13, -58.43)
CIE-LCHlch(43.84, 72.03, 305.79°)
OKLaboklab(53.36% 0.0664 -0.1667)
OKLCHoklch(53.36% 0.179 291.7)
XYZxyz(20.5396, 13.7259, 57.4328)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251CA #A9CA51
analogous
#516CCA #7251CA #AF51CA
triadic
#7251CA #CA7251 #51CA72
tetradic
#7251CA #CA516C #A9CA51 #51CAAF
square
#7251CA #CA516C #A9CA51 #51CAAF
split-complementary
#7251CA #CAAF51 #6CCA51
monochromatic
#3D257B #5434AA #7251CA #9880D8 #BEAFE7

Accessibility & contrast

On white

5.61
#7251CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7251CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251CA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251CA#FFFFFF#000000##FFFFFF
##7251CA1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#596C86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7251ca;
/* rgb */ color: rgb(114, 81, 202);
/* oklch */ color: oklch(53.4% 0.179 291.7);
Tailwind
colors: {
  custom: {
    50: '#a083db',
    500: '#7251ca',
    950: '#000000',
  },
}
SCSS
$custom: #7251ca;
$custom-light: #a083db;
$custom-dark: #000000;
JSON
{
  "hex": "#7251ca",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 256.364,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53365,
    "c": 0.17943,
    "h": 291.7
  },
  "luminance": 0.13727
}

Semantic roles & 50–950 ramp

primary
#7251CA
secondary
#C7D5A2
accent
#DD4BB5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7251CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7251CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva