#7155D4#7155D4

#7155D4 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.6% C 0.187 H 288.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7155D4
RGBrgb(113, 85, 212)
HSLhsl(253, 60%, 58%)
HSVhsv(253, 60%, 83%)
CMYKcmyk(46.7%, 59.9%, 0%, 16.9%)
CIE-LABlab(45.30, 42.47, -61.81)
CIE-LCHlch(45.30, 74.99, 304.49°)
OKLaboklab(54.64% 0.0602 -0.1766)
OKLCHoklch(54.64% 0.187 288.8)
XYZxyz(21.9388, 14.7603, 63.9677)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7155D4 #B8D455
analogous
#5578D4 #7155D4 #B055D4
triadic
#7155D4 #D47155 #55D471
tetradic
#7155D4 #D45578 #B8D455 #55D4B0
square
#7155D4 #D45578 #B8D455 #55D4B0
split-complementary
#7155D4 #D4B055 #78D455
monochromatic
#3A238B #4F30BC #7155D4 #9A86E0 #C3B7ED

Accessibility & contrast

On white

5.31
#7155D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7155D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7155D4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7155D4#FFFFFF#000000##FFFFFF
##7155D41.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#51728C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7155d4;
/* rgb */ color: rgb(113, 85, 212);
/* oklch */ color: oklch(54.6% 0.187 288.8);
Tailwind
colors: {
  custom: {
    50: '#a186e2',
    500: '#7155d4',
    950: '#000000',
  },
}
SCSS
$custom: #7155d4;
$custom-light: #a186e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7155d4",
  "rgb": {
    "r": 113,
    "g": 85,
    "b": 212
  },
  "hsl": {
    "h": 253.228,
    "s": 59.624,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54636,
    "c": 0.18664,
    "h": 288.8
  },
  "luminance": 0.14761
}

Semantic roles & 50–950 ramp

primary
#7155D4
secondary
#D1DCA9
accent
#E345C0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7155D4

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

Preview Lab → · Contrast checker → · Palette generator →

#7155D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva