#7155ED#7155ED

#7155ED is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.5% C 0.218 H 285.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7155ED
RGBrgb(113, 85, 237)
HSLhsl(251, 81%, 63%)
HSVhsv(251, 64%, 93%)
CMYKcmyk(52.3%, 64.1%, 0%, 7.1%)
CIE-LABlab(47.13, 49.68, -73.02)
CIE-LCHlch(47.13, 88.32, 304.23°)
OKLaboklab(56.54% 0.0583 -0.2096)
OKLCHoklch(56.54% 0.218 285.5)
XYZxyz(25.3400, 16.1208, 81.8807)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7155ED #D1ED55
analogous
#5585ED #7155ED #BD55ED
triadic
#7155ED #ED7155 #55ED71
tetradic
#7155ED #ED5585 #D1ED55 #55EDBD
square
#7155ED #ED5585 #D1ED55 #55EDBD
split-complementary
#7155ED #EDBD55 #85ED55
monochromatic
#3113B4 #431EE7 #7155ED #9F8CF3 #CDC4F9

Accessibility & contrast

On white

4.97
#7155ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7155ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7155ED
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7155ED#FFFFFF#000000##FFFFFF
##7155ED1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#3F7B9A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7155ed;
/* rgb */ color: rgb(113, 85, 237);
/* oklch */ color: oklch(56.5% 0.218 285.5);
Tailwind
colors: {
  custom: {
    50: '#a486f4',
    500: '#7155ed',
    950: '#000000',
  },
}
SCSS
$custom: #7155ed;
$custom-light: #a486f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7155ed",
  "rgb": {
    "r": 113,
    "g": 85,
    "b": 237
  },
  "hsl": {
    "h": 251.053,
    "s": 80.851,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56541,
    "c": 0.21758,
    "h": 285.5
  },
  "luminance": 0.16122
}

Semantic roles & 50–950 ramp

primary
#7155ED
secondary
#E0EAB4
accent
#DD08B6
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7155ED

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

Preview Lab → · Contrast checker → · Palette generator →

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