#7155E7#7155E7

#7155E7 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.1% C 0.210 H 286.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7155E7
RGBrgb(113, 85, 231)
HSLhsl(252, 75%, 62%)
HSVhsv(252, 63%, 91%)
CMYKcmyk(51.1%, 63.2%, 0%, 9.4%)
CIE-LABlab(46.68, 47.95, -70.38)
CIE-LCHlch(46.68, 85.16, 304.26°)
OKLaboklab(56.07% 0.0589 -0.2018)
OKLCHoklch(56.07% 0.21 286.3)
XYZxyz(24.4781, 15.7760, 77.3411)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7155E7 #CBE755
analogous
#5582E7 #7155E7 #BA55E7
triadic
#7155E7 #E77155 #55E771
tetradic
#7155E7 #E75582 #CBE755 #55E7BA
square
#7155E7 #E75582 #CBE755 #55E7BA
split-complementary
#7155E7 #E7BA55 #82E755
monochromatic
#3418AA #4420DF #7155E7 #9E8BEF #CBC0F6

Accessibility & contrast

On white

5.05
#7155E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7155E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7155E7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7155E7#FFFFFF#000000##FFFFFF
##7155E71.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#447996
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7155e7;
/* rgb */ color: rgb(113, 85, 231);
/* oklch */ color: oklch(56.1% 0.210 286.3);
Tailwind
colors: {
  custom: {
    50: '#a386f0',
    500: '#7155e7',
    950: '#000000',
  },
}
SCSS
$custom: #7155e7;
$custom-light: #a386f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7155e7",
  "rgb": {
    "r": 113,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 251.507,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56071,
    "c": 0.21027,
    "h": 286.3
  },
  "luminance": 0.15777
}

Semantic roles & 50–950 ramp

primary
#7155E7
secondary
#DCE7B1
accent
#D70EB1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7155E7

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

Preview Lab → · Contrast checker → · Palette generator →

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