#7154DD#7154DD

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

Color values

HEX#7154DD
RGBrgb(113, 84, 221)
HSLhsl(253, 67%, 60%)
HSVhsv(253, 62%, 87%)
CMYKcmyk(48.9%, 62%, 0%, 13.3%)
CIE-LABlab(45.73, 45.62, -66.25)
CIE-LCHlch(45.73, 80.44, 304.55°)
OKLaboklab(55.15% 0.0608 -0.1897)
OKLCHoklch(55.15% 0.199 287.8)
XYZxyz(23.0277, 15.0708, 70.0882)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154DD #C0DD54
analogous
#547BDD #7154DD #B654DD
triadic
#7154DD #DD7154 #54DD71
tetradic
#7154DD #DD547B #C0DD54 #54DDB6
square
#7154DD #DD547B #C0DD54 #54DDB6
split-complementary
#7154DD #DDB654 #7BDD54
monochromatic
#381E98 #4B28CB #7154DD #9B87E7 #C6BAF1

Accessibility & contrast

On white

5.23
#7154DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7154DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154DD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154DD#FFFFFF#000000##FFFFFF
##7154DD1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#4B7591
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7154dd;
/* rgb */ color: rgb(113, 84, 221);
/* oklch */ color: oklch(55.1% 0.199 287.8);
Tailwind
colors: {
  custom: {
    50: '#a285e8',
    500: '#7154dd',
    950: '#000000',
  },
}
SCSS
$custom: #7154dd;
$custom-light: #a285e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7154dd",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 252.701,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5515,
    "c": 0.19921,
    "h": 287.8
  },
  "luminance": 0.15072
}

Semantic roles & 50–950 ramp

primary
#7154DD
secondary
#D6E1AC
accent
#EA3EC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7154DD

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

Preview Lab → · Contrast checker → · Palette generator →

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