#7154D2#7154D2

#7154D2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.3% C 0.185 H 289.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7154D2
RGBrgb(113, 84, 210)
HSLhsl(254, 58%, 58%)
HSVhsv(254, 60%, 82%)
CMYKcmyk(46.2%, 60%, 0%, 17.6%)
CIE-LABlab(44.95, 42.47, -61.24)
CIE-LCHlch(44.95, 74.53, 304.74°)
OKLaboklab(54.33% 0.0614 -0.175)
OKLCHoklch(54.33% 0.185 289.3)
XYZxyz(21.6099, 14.5037, 62.6211)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154D2 #B5D254
analogous
#5476D2 #7154D2 #B054D2
triadic
#7154D2 #D27154 #54D271
tetradic
#7154D2 #D25476 #B5D254 #54D2B0
square
#7154D2 #D25476 #B5D254 #54D2B0
split-complementary
#7154D2 #D2B054 #76D254
monochromatic
#3B2488 #5031B8 #7154D2 #9984DF #C1B5EB

Accessibility & contrast

On white

5.38
#7154D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7154D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154D2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154D2#FFFFFF#000000##FFFFFF
##7154D21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#52718B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7154d2;
/* rgb */ color: rgb(113, 84, 210);
/* oklch */ color: oklch(54.3% 0.185 289.3);
Tailwind
colors: {
  custom: {
    50: '#a185e1',
    500: '#7154d2',
    950: '#000000',
  },
}
SCSS
$custom: #7154d2;
$custom-light: #a185e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7154d2",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 253.81,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5433,
    "c": 0.18545,
    "h": 289.3
  },
  "luminance": 0.14505
}

Semantic roles & 50–950 ramp

primary
#7154D2
secondary
#CFDAA8
accent
#E246BE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7154D2

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

Preview Lab → · Contrast checker → · Palette generator →

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