#7154DB#7154DB

#7154DB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.0% C 0.197 H 288.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7154DB
RGBrgb(113, 84, 219)
HSLhsl(253, 65%, 59%)
HSVhsv(253, 62%, 86%)
CMYKcmyk(48.4%, 61.6%, 0%, 14.1%)
CIE-LABlab(45.59, 45.05, -65.35)
CIE-LCHlch(45.59, 79.37, 304.58°)
OKLaboklab(55% 0.0609 -0.1871)
OKLCHoklch(55% 0.197 288)
XYZxyz(22.7629, 14.9648, 68.6932)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154DB #BEDB54
analogous
#547BDB #7154DB #B554DB
triadic
#7154DB #DB7154 #54DB71
tetradic
#7154DB #DB547B #BEDB54 #54DBB5
square
#7154DB #DB547B #BEDB54 #54DBB5
split-complementary
#7154DB #DBB554 #7BDB54
monochromatic
#391F95 #4C2AC8 #7154DB #9B87E6 #C5B9F0

Accessibility & contrast

On white

5.26
#7154DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7154DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154DB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154DB#FFFFFF#000000##FFFFFF
##7154DB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#4D7490
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7154db;
/* rgb */ color: rgb(113, 84, 219);
/* oklch */ color: oklch(55.0% 0.197 288.0);
Tailwind
colors: {
  custom: {
    50: '#a285e7',
    500: '#7154db',
    950: '#000000',
  },
}
SCSS
$custom: #7154db;
$custom-light: #a285e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7154db",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 252.889,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54999,
    "c": 0.19672,
    "h": 288
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

primary
#7154DB
secondary
#D4E0AB
accent
#E840C4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7154DB

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

Preview Lab → · Contrast checker → · Palette generator →

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