#7251DF#7251DF

#7251DF is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 54.9% C 0.205 H 288.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7251DF
RGBrgb(114, 81, 223)
HSLhsl(254, 69%, 60%)
HSVhsv(254, 64%, 87%)
CMYKcmyk(48.9%, 63.7%, 0%, 12.5%)
CIE-LABlab(45.34, 48.05, -68.02)
CIE-LCHlch(45.34, 83.28, 305.24°)
OKLaboklab(54.94% 0.0649 -0.1949)
OKLCHoklch(54.94% 0.205 288.4)
XYZxyz(23.1973, 14.7890, 71.4300)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251DF #BEDF51
analogous
#5177DF #7251DF #B951DF
triadic
#7251DF #DF7251 #51DF72
tetradic
#7251DF #DF5177 #BEDF51 #51DFB9
square
#7251DF #DF5177 #BEDF51 #51DFB9
split-complementary
#7251DF #DFB951 #77DF51
monochromatic
#391C99 #4D26CD #7251DF #9C85E9 #C6B8F2

Accessibility & contrast

On white

5.31
#7251DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7251DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251DF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251DF#FFFFFF#000000##FFFFFF
##7251DF1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#4C7391
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7251df;
/* rgb */ color: rgb(114, 81, 223);
/* oklch */ color: oklch(54.9% 0.205 288.4);
Tailwind
colors: {
  custom: {
    50: '#a384ea',
    500: '#7251df',
    950: '#000000',
  },
}
SCSS
$custom: #7251df;
$custom-light: #a384ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7251df",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 253.944,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54937,
    "c": 0.2054,
    "h": 288.4
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

primary
#7251DF
secondary
#D5E1AA
accent
#EC3CC3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7251DF

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

Preview Lab → · Contrast checker → · Palette generator →

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