#7155DC#7155DC

#7155DC is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.2% C 0.197 H 287.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7155DC
RGBrgb(113, 85, 220)
HSLhsl(252, 66%, 60%)
HSVhsv(252, 61%, 86%)
CMYKcmyk(48.6%, 61.4%, 0%, 13.7%)
CIE-LABlab(45.87, 44.77, -65.46)
CIE-LCHlch(45.87, 79.30, 304.37°)
OKLaboklab(55.23% 0.0598 -0.1874)
OKLCHoklch(55.23% 0.197 287.7)
XYZxyz(22.9731, 15.1740, 69.4147)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7155DC #C0DC55
analogous
#557DDC #7155DC #B455DC
triadic
#7155DC #DC7155 #55DC71
tetradic
#7155DC #DC557D #C0DC55 #55DCB4
square
#7155DC #DC557D #C0DC55 #55DCB4
split-complementary
#7155DC #DCB455 #7DDC55
monochromatic
#381F97 #4B2ACA #7155DC #9B88E6 #C6BBF1

Accessibility & contrast

On white

5.20
#7155DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7155DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7155DC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7155DC#FFFFFF#000000##FFFFFF
##7155DC1.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#4C7591
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7155dc;
/* rgb */ color: rgb(113, 85, 220);
/* oklch */ color: oklch(55.2% 0.197 287.7);
Tailwind
colors: {
  custom: {
    50: '#a286e8',
    500: '#7155dc',
    950: '#000000',
  },
}
SCSS
$custom: #7155dc;
$custom-light: #a286e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7155dc",
  "rgb": {
    "r": 113,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 252.444,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55229,
    "c": 0.19668,
    "h": 287.7
  },
  "luminance": 0.15175
}

Semantic roles & 50–950 ramp

primary
#7155DC
secondary
#D6E0AC
accent
#E93FC6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7155DC

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

Preview Lab → · Contrast checker → · Palette generator →

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