#7154CE#7154CE

#7154CE is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.180 H 290.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7154CE
RGBrgb(113, 84, 206)
HSLhsl(254, 55%, 57%)
HSVhsv(254, 59%, 81%)
CMYKcmyk(45.1%, 59.2%, 0%, 19.2%)
CIE-LABlab(44.67, 41.33, -59.39)
CIE-LCHlch(44.67, 72.36, 304.83°)
OKLaboklab(54.04% 0.0616 -0.1695)
OKLCHoklch(54.04% 0.18 290)
XYZxyz(21.1178, 14.3068, 60.0294)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154CE #B1CE54
analogous
#5474CE #7154CE #AE54CE
triadic
#7154CE #CE7154 #54CE71
tetradic
#7154CE #CE5474 #B1CE54 #54CEAE
square
#7154CE #CE5474 #B1CE54 #54CEAE
split-complementary
#7154CE #CEAE54 #74CE54
monochromatic
#3B2582 #5133B2 #7154CE #9984DC #C0B3E9

Accessibility & contrast

On white

5.44
#7154CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7154CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154CE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154CE#FFFFFF#000000##FFFFFF
##7154CE1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#557089
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7154ce;
/* rgb */ color: rgb(113, 84, 206);
/* oklch */ color: oklch(54.0% 0.180 290.0);
Tailwind
colors: {
  custom: {
    50: '#a085de',
    500: '#7154ce',
    950: '#000000',
  },
}
SCSS
$custom: #7154ce;
$custom-light: #a085de;
$custom-dark: #000000;
JSON
{
  "hex": "#7154ce",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 254.262,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54039,
    "c": 0.18038,
    "h": 290
  },
  "luminance": 0.14308
}

Semantic roles & 50–950 ramp

primary
#7154CE
secondary
#CCD8A6
accent
#DF49BB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7154CE

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

Preview Lab → · Contrast checker → · Palette generator →

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