#7154DC#7154DC

#7154DC is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.198 H 287.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7154DC
RGBrgb(113, 84, 220)
HSLhsl(253, 66%, 60%)
HSVhsv(253, 62%, 86%)
CMYKcmyk(48.6%, 61.8%, 0%, 13.7%)
CIE-LABlab(45.66, 45.33, -65.80)
CIE-LCHlch(45.66, 79.91, 304.56°)
OKLaboklab(55.07% 0.0608 -0.1884)
OKLCHoklch(55.07% 0.198 287.9)
XYZxyz(22.8949, 15.0177, 69.3886)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154DC #BFDC54
analogous
#547BDC #7154DC #B554DC
triadic
#7154DC #DC7154 #54DC71
tetradic
#7154DC #DC547B #BFDC54 #54DCB5
square
#7154DC #DC547B #BFDC54 #54DCB5
split-complementary
#7154DC #DCB554 #7BDC54
monochromatic
#381F97 #4B29CA #7154DC #9B87E6 #C5BAF1

Accessibility & contrast

On white

5.25
#7154DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7154DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154DC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154DC#FFFFFF#000000##FFFFFF
##7154DC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#4C7490
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7154dc;
/* rgb */ color: rgb(113, 84, 220);
/* oklch */ color: oklch(55.1% 0.198 287.9);
Tailwind
colors: {
  custom: {
    50: '#a285e8',
    500: '#7154dc',
    950: '#000000',
  },
}
SCSS
$custom: #7154dc;
$custom-light: #a285e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7154dc",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 252.794,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55074,
    "c": 0.19797,
    "h": 287.9
  },
  "luminance": 0.15019
}

Semantic roles & 50–950 ramp

primary
#7154DC
secondary
#D5E0AC
accent
#E93FC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7154DC

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

Preview Lab → · Contrast checker → · Palette generator →

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