#7155E8#7155E8

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

Color values

HEX#7155E8
RGBrgb(113, 85, 232)
HSLhsl(251, 76%, 62%)
HSVhsv(251, 63%, 91%)
CMYKcmyk(51.3%, 63.4%, 0%, 9%)
CIE-LABlab(46.75, 48.23, -70.82)
CIE-LCHlch(46.75, 85.69, 304.26°)
OKLaboklab(56.15% 0.0588 -0.2031)
OKLCHoklch(56.15% 0.212 286.2)
XYZxyz(24.6197, 15.8327, 78.0870)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7155E8 #CCE855
analogous
#5582E8 #7155E8 #BB55E8
triadic
#7155E8 #E87155 #55E871
tetradic
#7155E8 #E85582 #CCE855 #55E8BB
square
#7155E8 #E85582 #CCE855 #55E8BB
split-complementary
#7155E8 #E8BB55 #82E855
monochromatic
#3317AB #441FE1 #7155E8 #9E8BEF #CBC1F7

Accessibility & contrast

On white

5.04
#7155E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7155E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7155E8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7155E8#FFFFFF#000000##FFFFFF
##7155E81.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#437997
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7155e8;
/* rgb */ color: rgb(113, 85, 232);
/* oklch */ color: oklch(56.1% 0.211 286.2);
Tailwind
colors: {
  custom: {
    50: '#a386f0',
    500: '#7155e8',
    950: '#000000',
  },
}
SCSS
$custom: #7155e8;
$custom-light: #a386f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7155e8",
  "rgb": {
    "r": 113,
    "g": 85,
    "b": 232
  },
  "hsl": {
    "h": 251.429,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56149,
    "c": 0.2115,
    "h": 286.2
  },
  "luminance": 0.15834
}

Semantic roles & 50–950 ramp

primary
#7155E8
secondary
#DDE7B1
accent
#D80DB2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7155E8

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

Preview Lab → · Contrast checker → · Palette generator →

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