#7251CE#7251CE

#7251CE is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.184 H 291.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7251CE
RGBrgb(114, 81, 206)
HSLhsl(256, 56%, 56%)
HSVhsv(256, 61%, 81%)
CMYKcmyk(44.7%, 60.7%, 0%, 19.2%)
CIE-LABlab(44.11, 43.25, -60.29)
CIE-LCHlch(44.11, 74.19, 305.66°)
OKLaboklab(53.66% 0.0662 -0.1721)
OKLCHoklch(53.66% 0.184 291)
XYZxyz(21.0193, 13.9178, 59.9595)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251CE #ADCE51
analogous
#516FCE #7251CE #B151CE
triadic
#7251CE #CE7251 #51CE72
tetradic
#7251CE #CE516F #ADCE51 #51CEB1
square
#7251CE #CE516F #ADCE51 #51CEB1
split-complementary
#7251CE #CEB151 #6FCE51
monochromatic
#3D2480 #5332B0 #7251CE #9981DB #BFB1E9

Accessibility & contrast

On white

5.55
#7251CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7251CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251CE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251CE#FFFFFF#000000##FFFFFF
##7251CE1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#576E88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7251ce;
/* rgb */ color: rgb(114, 81, 206);
/* oklch */ color: oklch(53.7% 0.184 291.0);
Tailwind
colors: {
  custom: {
    50: '#a183de',
    500: '#7251ce',
    950: '#000000',
  },
}
SCSS
$custom: #7251ce;
$custom-light: #a183de;
$custom-dark: #000000;
JSON
{
  "hex": "#7251ce",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 255.84,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53656,
    "c": 0.18444,
    "h": 291
  },
  "luminance": 0.13918
}

Semantic roles & 50–950 ramp

primary
#7251CE
secondary
#CAD7A4
accent
#DF48B8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7251CE

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

Preview Lab → · Contrast checker → · Palette generator →

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