#7251DE#7251DE

#7251DE is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.9% C 0.204 H 288.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7251DE
RGBrgb(114, 81, 222)
HSLhsl(254, 68%, 59%)
HSVhsv(254, 64%, 87%)
CMYKcmyk(48.6%, 63.5%, 0%, 12.9%)
CIE-LABlab(45.27, 47.77, -67.57)
CIE-LCHlch(45.27, 82.75, 305.26°)
OKLaboklab(54.86% 0.065 -0.1936)
OKLCHoklch(54.86% 0.204 288.6)
XYZxyz(23.0629, 14.7352, 70.7221)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251DE #BDDE51
analogous
#5176DE #7251DE #B951DE
triadic
#7251DE #DE7251 #51DE72
tetradic
#7251DE #DE5176 #BDDE51 #51DEB9
square
#7251DE #DE5176 #BDDE51 #51DEB9
split-complementary
#7251DE #DEB951 #76DE51
monochromatic
#3A1D98 #4D27CB #7251DE #9C84E8 #C5B8F2

Accessibility & contrast

On white

5.32
#7251DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7251DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251DE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251DE#FFFFFF#000000##FFFFFF
##7251DE1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#4D7390
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7251de;
/* rgb */ color: rgb(114, 81, 222);
/* oklch */ color: oklch(54.9% 0.204 288.6);
Tailwind
colors: {
  custom: {
    50: '#a384e9',
    500: '#7251de',
    950: '#000000',
  },
}
SCSS
$custom: #7251de;
$custom-light: #a384e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7251de",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 254.043,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5486,
    "c": 0.20419,
    "h": 288.6
  },
  "luminance": 0.14736
}

Semantic roles & 50–950 ramp

primary
#7251DE
secondary
#D4E1AA
accent
#EB3DC2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7251DE

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

Preview Lab → · Contrast checker → · Palette generator →

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