#7155EB#7155EB

#7155EB is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.4% C 0.215 H 285.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7155EB
RGBrgb(113, 85, 235)
HSLhsl(251, 79%, 63%)
HSVhsv(251, 64%, 92%)
CMYKcmyk(51.9%, 63.8%, 0%, 7.8%)
CIE-LABlab(46.98, 49.10, -72.15)
CIE-LCHlch(46.98, 87.27, 304.24°)
OKLaboklab(56.38% 0.0585 -0.207)
OKLCHoklch(56.38% 0.215 285.8)
XYZxyz(25.0495, 16.0046, 80.3504)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7155EB #CFEB55
analogous
#5584EB #7155EB #BC55EB
triadic
#7155EB #EB7155 #55EB71
tetradic
#7155EB #EB5584 #CFEB55 #55EBBC
square
#7155EB #EB5584 #CFEB55 #55EBBC
split-complementary
#7155EB #EBBC55 #84EB55
monochromatic
#3215B1 #431EE5 #7155EB #9F8CF1 #CCC3F8

Accessibility & contrast

On white

5.00
#7155EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7155EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7155EB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7155EB#FFFFFF#000000##FFFFFF
##7155EB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#407A98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7155eb;
/* rgb */ color: rgb(113, 85, 235);
/* oklch */ color: oklch(56.4% 0.215 285.8);
Tailwind
colors: {
  custom: {
    50: '#a486f2',
    500: '#7155eb',
    950: '#000000',
  },
}
SCSS
$custom: #7155eb;
$custom-light: #a486f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7155eb",
  "rgb": {
    "r": 113,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 251.2,
    "s": 78.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56384,
    "c": 0.21515,
    "h": 285.8
  },
  "luminance": 0.16006
}

Semantic roles & 50–950 ramp

primary
#7155EB
secondary
#DFE9B3
accent
#DB0AB4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7155EB

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

Preview Lab → · Contrast checker → · Palette generator →

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