#7251DC#7251DC

#7251DC is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.7% C 0.202 H 288.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7251DC
RGBrgb(114, 81, 220)
HSLhsl(254, 67%, 59%)
HSVhsv(254, 63%, 86%)
CMYKcmyk(48.2%, 63.2%, 0%, 13.7%)
CIE-LABlab(45.12, 47.20, -66.67)
CIE-LCHlch(45.12, 81.69, 305.30°)
OKLaboklab(54.71% 0.0652 -0.1909)
OKLCHoklch(54.71% 0.202 288.9)
XYZxyz(22.7964, 14.6286, 69.3187)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251DC #BBDC51
analogous
#5176DC #7251DC #B851DC
triadic
#7251DC #DC7251 #51DC72
tetradic
#7251DC #DC5176 #BBDC51 #51DCB8
square
#7251DC #DC5176 #BBDC51 #51DCB8
split-complementary
#7251DC #DCB851 #76DC51
monochromatic
#3A1E95 #4E28C8 #7251DC #9B84E6 #C5B7F0

Accessibility & contrast

On white

5.35
#7251DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7251DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251DC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251DC#FFFFFF#000000##FFFFFF
##7251DC1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#4E728F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7251dc;
/* rgb */ color: rgb(114, 81, 220);
/* oklch */ color: oklch(54.7% 0.202 288.9);
Tailwind
colors: {
  custom: {
    50: '#a383e8',
    500: '#7251dc',
    950: '#000000',
  },
}
SCSS
$custom: #7251dc;
$custom-light: #a383e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7251dc",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 254.245,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54706,
    "c": 0.20175,
    "h": 288.9
  },
  "luminance": 0.1463
}

Semantic roles & 50–950 ramp

primary
#7251DC
secondary
#D3E0A9
accent
#E93EC1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7251DC

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

Preview Lab → · Contrast checker → · Palette generator →

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