#7254DD#7254DD

#7254DD is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.199 H 288.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7254DD
RGBrgb(114, 84, 221)
HSLhsl(253, 67%, 60%)
HSVhsv(253, 62%, 87%)
CMYKcmyk(48.4%, 62%, 0%, 13.3%)
CIE-LABlab(45.82, 45.81, -66.10)
CIE-LCHlch(45.82, 80.42, 304.72°)
OKLaboklab(55.24% 0.0621 -0.1892)
OKLCHoklch(55.24% 0.199 288.2)
XYZxyz(23.1571, 15.1375, 70.0943)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7254DD #BFDD54
analogous
#547ADD #7254DD #B754DD
triadic
#7254DD #DD7254 #54DD72
tetradic
#7254DD #DD547A #BFDD54 #54DDB7
square
#7254DD #DD547A #BFDD54 #54DDB7
split-complementary
#7254DD #DDB754 #7ADD54
monochromatic
#391E98 #4C28CB #7254DD #9C87E7 #C6BAF1

Accessibility & contrast

On white

5.21
#7254DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7254DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7254DD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7254DD#FFFFFF#000000##FFFFFF
##7254DD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#4D7491
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7254dd;
/* rgb */ color: rgb(114, 84, 221);
/* oklch */ color: oklch(55.2% 0.199 288.2);
Tailwind
colors: {
  custom: {
    50: '#a285e8',
    500: '#7254dd',
    950: '#000000',
  },
}
SCSS
$custom: #7254dd;
$custom-light: #a285e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7254dd",
  "rgb": {
    "r": 114,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 253.139,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55238,
    "c": 0.19916,
    "h": 288.2
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#7254DD
secondary
#D5E1AC
accent
#EA3EC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7254DD

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

Preview Lab → · Contrast checker → · Palette generator →

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