#7154D3#7154D3

#7154D3 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.4% C 0.187 H 289.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7154D3
RGBrgb(113, 84, 211)
HSLhsl(254, 59%, 58%)
HSVhsv(254, 60%, 83%)
CMYKcmyk(46.4%, 60.2%, 0%, 17.3%)
CIE-LABlab(45.02, 42.75, -61.70)
CIE-LCHlch(45.02, 75.07, 304.72°)
OKLaboklab(54.4% 0.0614 -0.1763)
OKLCHoklch(54.4% 0.187 289.2)
XYZxyz(21.7349, 14.5537, 63.2793)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154D3 #B6D354
analogous
#5476D3 #7154D3 #B154D3
triadic
#7154D3 #D37154 #54D371
tetradic
#7154D3 #D35476 #B6D354 #54D3B1
square
#7154D3 #D35476 #B6D354 #54D3B1
split-complementary
#7154D3 #D3B154 #76D354
monochromatic
#3B2389 #4F30BA #7154D3 #9985E0 #C2B5EC

Accessibility & contrast

On white

5.37
#7154D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7154D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154D3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154D3#FFFFFF#000000##FFFFFF
##7154D31.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7154d3;
/* rgb */ color: rgb(113, 84, 211);
/* oklch */ color: oklch(54.4% 0.187 289.2);
Tailwind
colors: {
  custom: {
    50: '#a185e1',
    500: '#7154d3',
    950: '#000000',
  },
}
SCSS
$custom: #7154d3;
$custom-light: #a185e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7154d3",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 253.701,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54403,
    "c": 0.1867,
    "h": 289.2
  },
  "luminance": 0.14555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7154D3

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

Preview Lab → · Contrast checker → · Palette generator →

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