#7157ED#7157ED

#7157ED is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.8% C 0.215 H 285.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7157ED
RGBrgb(113, 87, 237)
HSLhsl(250, 81%, 64%)
HSVhsv(250, 63%, 93%)
CMYKcmyk(52.3%, 63.3%, 0%, 7.1%)
CIE-LABlab(47.55, 48.57, -72.35)
CIE-LCHlch(47.55, 87.14, 303.87°)
OKLaboklab(56.84% 0.0565 -0.2076)
OKLCHoklch(56.84% 0.215 285.2)
XYZxyz(25.4997, 16.4402, 81.9340)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7157ED #D3ED57
analogous
#5788ED #7157ED #BC57ED
triadic
#7157ED #ED7157 #57ED71
tetradic
#7157ED #ED5788 #D3ED57 #57EDBC
square
#7157ED #ED5788 #D3ED57 #57EDBC
split-complementary
#7157ED #EDBC57 #88ED57
monochromatic
#3014B6 #4220E7 #7157ED #A08EF3 #CEC6F9

Accessibility & contrast

On white

4.90
#7157ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7157ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7157ED
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7157ED#FFFFFF#000000##FFFFFF
##7157ED1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#3E7C9A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7157ed;
/* rgb */ color: rgb(113, 87, 237);
/* oklch */ color: oklch(56.8% 0.215 285.2);
Tailwind
colors: {
  custom: {
    50: '#a488f4',
    500: '#7157ed',
    950: '#000000',
  },
}
SCSS
$custom: #7157ed;
$custom-light: #a488f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7157ed",
  "rgb": {
    "r": 113,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 250.4,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56842,
    "c": 0.21518,
    "h": 285.2
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

primary
#7157ED
secondary
#E1EAB5
accent
#DD09B8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7157ED

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

Preview Lab → · Contrast checker → · Palette generator →

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