#7155CC#7155CC

#7155CC is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.1% C 0.176 H 290.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7155CC
RGBrgb(113, 85, 204)
HSLhsl(254, 54%, 57%)
HSVhsv(254, 58%, 80%)
CMYKcmyk(44.6%, 58.3%, 0%, 20%)
CIE-LABlab(44.75, 40.18, -58.10)
CIE-LCHlch(44.75, 70.65, 304.67°)
OKLaboklab(54.06% 0.0605 -0.1657)
OKLCHoklch(54.06% 0.176 290.1)
XYZxyz(20.9546, 14.3666, 58.7840)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7155CC #B0CC55
analogous
#5575CC #7155CC #AD55CC
triadic
#7155CC #CC7155 #55CC71
tetradic
#7155CC #CC5575 #B0CC55 #55CCAD
square
#7155CC #CC5575 #B0CC55 #55CCAD
split-complementary
#7155CC #CCAD55 #75CC55
monochromatic
#3C2680 #5135AF #7155CC #9884DA #C0B3E8

Accessibility & contrast

On white

5.42
#7155CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7155CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7155CC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7155CC#FFFFFF#000000##FFFFFF
##7155CC1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0467C9
Tritanopia (blue-blind)
#567088
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7155cc;
/* rgb */ color: rgb(113, 85, 204);
/* oklch */ color: oklch(54.1% 0.176 290.1);
Tailwind
colors: {
  custom: {
    50: '#a086dc',
    500: '#7155cc',
    950: '#000000',
  },
}
SCSS
$custom: #7155cc;
$custom-light: #a086dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7155cc",
  "rgb": {
    "r": 113,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 254.118,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54058,
    "c": 0.17645,
    "h": 290.1
  },
  "luminance": 0.14367
}

Semantic roles & 50–950 ramp

primary
#7155CC
secondary
#CBD7A6
accent
#DD4BBB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7155CC

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

Preview Lab → · Contrast checker → · Palette generator →

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