#7154DE#7154DE

#7154DE is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.2% C 0.200 H 287.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7154DE
RGBrgb(113, 84, 222)
HSLhsl(253, 68%, 60%)
HSVhsv(253, 62%, 87%)
CMYKcmyk(49.1%, 62.2%, 0%, 12.9%)
CIE-LABlab(45.80, 45.91, -66.70)
CIE-LCHlch(45.80, 80.98, 304.54°)
OKLaboklab(55.23% 0.0607 -0.191)
OKLCHoklch(55.23% 0.2 287.6)
XYZxyz(23.1613, 15.1242, 70.7920)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154DE #C1DE54
analogous
#547CDE #7154DE #B654DE
triadic
#7154DE #DE7154 #54DE71
tetradic
#7154DE #DE547C #C1DE54 #54DEB6
square
#7154DE #DE547C #C1DE54 #54DEB6
split-complementary
#7154DE #DEB654 #7CDE54
monochromatic
#381E9A #4A28CD #7154DE #9C87E8 #C6BBF2

Accessibility & contrast

On white

5.22
#7154DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7154DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154DE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154DE#FFFFFF#000000##FFFFFF
##7154DE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#4B7591
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7154de;
/* rgb */ color: rgb(113, 84, 222);
/* oklch */ color: oklch(55.2% 0.200 287.6);
Tailwind
colors: {
  custom: {
    50: '#a285e9',
    500: '#7154de',
    950: '#000000',
  },
}
SCSS
$custom: #7154de;
$custom-light: #a285e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7154de",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 252.609,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.55226,
    "c": 0.20045,
    "h": 287.6
  },
  "luminance": 0.15125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7154DE

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

Preview Lab → · Contrast checker → · Palette generator →

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