#7154DF#7154DF

#7154DF is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.3% C 0.202 H 287.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7154DF
RGBrgb(113, 84, 223)
HSLhsl(253, 68%, 60%)
HSVhsv(253, 62%, 87%)
CMYKcmyk(49.3%, 62.3%, 0%, 12.5%)
CIE-LABlab(45.88, 46.20, -67.15)
CIE-LCHlch(45.88, 81.51, 304.52°)
OKLaboklab(55.3% 0.0606 -0.1924)
OKLCHoklch(55.3% 0.202 287.5)
XYZxyz(23.2958, 15.1780, 71.4999)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154DF #C2DF54
analogous
#547CDF #7154DF #B654DF
triadic
#7154DF #DF7154 #54DF71
tetradic
#7154DF #DF547C #C2DF54 #54DFB6
square
#7154DF #DF547C #C2DF54 #54DFB6
split-complementary
#7154DF #DFB654 #7CDF54
monochromatic
#371D9C #4A27CF #7154DF #9C88E9 #C7BBF2

Accessibility & contrast

On white

5.20
#7154DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7154DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154DF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154DF#FFFFFF#000000##FFFFFF
##7154DF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#4A7592
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7154df;
/* rgb */ color: rgb(113, 84, 223);
/* oklch */ color: oklch(55.3% 0.202 287.5);
Tailwind
colors: {
  custom: {
    50: '#a285ea',
    500: '#7154df',
    950: '#000000',
  },
}
SCSS
$custom: #7154df;
$custom-light: #a285ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7154df",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 252.518,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55302,
    "c": 0.20169,
    "h": 287.5
  },
  "luminance": 0.15179
}

Semantic roles & 50–950 ramp

primary
#7154DF
secondary
#D7E2AD
accent
#D015A9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7154DF

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

Preview Lab → · Contrast checker → · Palette generator →

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