#7251DD#7251DD

#7251DD is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.8% C 0.203 H 288.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7251DD
RGBrgb(114, 81, 221)
HSLhsl(254, 67%, 59%)
HSVhsv(254, 63%, 87%)
CMYKcmyk(48.4%, 63.3%, 0%, 13.3%)
CIE-LABlab(45.20, 47.49, -67.12)
CIE-LCHlch(45.20, 82.22, 305.28°)
OKLaboklab(54.78% 0.0651 -0.1922)
OKLCHoklch(54.78% 0.203 288.7)
XYZxyz(22.9292, 14.6818, 70.0183)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251DD #BCDD51
analogous
#5176DD #7251DD #B851DD
triadic
#7251DD #DD7251 #51DD72
tetradic
#7251DD #DD5176 #BCDD51 #51DDB8
square
#7251DD #DD5176 #BCDD51 #51DDB8
split-complementary
#7251DD #DDB851 #76DD51
monochromatic
#3A1D96 #4E27C9 #7251DD #9B84E7 #C5B7F1

Accessibility & contrast

On white

5.33
#7251DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7251DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251DD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251DD#FFFFFF#000000##FFFFFF
##7251DD1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#4E7390
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7251dd;
/* rgb */ color: rgb(114, 81, 221);
/* oklch */ color: oklch(54.8% 0.203 288.7);
Tailwind
colors: {
  custom: {
    50: '#a384e8',
    500: '#7251dd',
    950: '#000000',
  },
}
SCSS
$custom: #7251dd;
$custom-light: #a384e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7251dd",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 254.143,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54783,
    "c": 0.20297,
    "h": 288.7
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

primary
#7251DD
secondary
#D3E0AA
accent
#EA3EC2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7251DD

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

Preview Lab → · Contrast checker → · Palette generator →

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