#7254DA#7254DA

#7254DA is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.0% C 0.195 H 288.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7254DA
RGBrgb(114, 84, 218)
HSLhsl(253, 64%, 59%)
HSVhsv(253, 61%, 85%)
CMYKcmyk(47.7%, 61.5%, 0%, 14.5%)
CIE-LABlab(45.61, 44.95, -64.74)
CIE-LCHlch(45.61, 78.82, 304.77°)
OKLaboklab(55.01% 0.0623 -0.1852)
OKLCHoklch(55.01% 0.195 288.6)
XYZxyz(22.7610, 14.9791, 68.0080)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7254DA #BCDA54
analogous
#5479DA #7254DA #B554DA
triadic
#7254DA #DA7254 #54DA72
tetradic
#7254DA #DA5479 #BCDA54 #54DAB5
square
#7254DA #DA5479 #BCDA54 #54DAB5
split-complementary
#7254DA #DAB554 #79DA54
monochromatic
#3A2094 #4E2BC6 #7254DA #9B86E5 #C5B9F0

Accessibility & contrast

On white

5.26
#7254DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7254DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7254DA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7254DA#FFFFFF#000000##FFFFFF
##7254DA1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#4F738F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7254da;
/* rgb */ color: rgb(114, 84, 218);
/* oklch */ color: oklch(55.0% 0.195 288.6);
Tailwind
colors: {
  custom: {
    50: '#a285e6',
    500: '#7254da',
    950: '#000000',
  },
}
SCSS
$custom: #7254da;
$custom-light: #a285e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7254da",
  "rgb": {
    "r": 114,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 253.433,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55012,
    "c": 0.19544,
    "h": 288.6
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#7254DA
secondary
#D3DFAB
accent
#E740C2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7254DA

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

Preview Lab → · Contrast checker → · Palette generator →

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