#7154BE#7154BE

#7154BE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 52.9% C 0.160 H 292.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7154BE
RGBrgb(113, 84, 190)
HSLhsl(256, 45%, 54%)
HSVhsv(256, 56%, 75%)
CMYKcmyk(40.5%, 55.8%, 0%, 25.5%)
CIE-LABlab(43.61, 36.81, -51.85)
CIE-LCHlch(43.61, 63.59, 305.38°)
OKLaboklab(52.92% 0.0617 -0.1473)
OKLCHoklch(52.92% 0.16 292.7)
XYZxyz(19.2721, 13.5686, 50.3088)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154BE #A1BE54
analogous
#546CBE #7154BE #A654BE
triadic
#7154BE #BE7154 #54BE71
tetradic
#7154BE #BE546C #A1BE54 #54BEA6
square
#7154BE #BE546C #A1BE54 #54BEA6
split-complementary
#7154BE #BEA654 #6CBE54
monochromatic
#3C2A6E #553B9A #7154BE #9680CF #BBADE0

Accessibility & contrast

On white

5.65
#7154BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7154BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154BE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154BE#FFFFFF#000000##FFFFFF
##7154BE1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E68C2
Deuteranopia (green-blind)
#2665BC
Tritanopia (blue-blind)
#5D6B81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7154be;
/* rgb */ color: rgb(113, 84, 190);
/* oklch */ color: oklch(52.9% 0.160 292.7);
Tailwind
colors: {
  custom: {
    50: '#9e85d2',
    500: '#7154be',
    950: '#000000',
  },
}
SCSS
$custom: #7154be;
$custom-light: #9e85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7154be",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 256.415,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52919,
    "c": 0.15975,
    "h": 292.7
  },
  "luminance": 0.13569
}

Semantic roles & 50–950 ramp

primary
#7154BE
secondary
#C1CEA0
accent
#D553B1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7154BE

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

Preview Lab → · Contrast checker → · Palette generator →

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