#7150C7#7150C7

#7150C7 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.177 H 292.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7150C7
RGBrgb(113, 80, 199)
HSLhsl(257, 52%, 55%)
HSVhsv(257, 60%, 78%)
CMYKcmyk(43.2%, 59.8%, 0%, 22%)
CIE-LABlab(43.32, 41.64, -57.54)
CIE-LCHlch(43.32, 71.03, 305.89°)
OKLaboklab(52.9% 0.0664 -0.1641)
OKLCHoklch(52.9% 0.177 292)
XYZxyz(19.9847, 13.3709, 55.5496)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150C7 #A6C750
analogous
#506AC7 #7150C7 #AD50C7
triadic
#7150C7 #C77150 #50C771
tetradic
#7150C7 #C7506A #A6C750 #50C7AD
square
#7150C7 #C7506A #A6C750 #50C7AD
split-complementary
#7150C7 #C7AD50 #6AC750
monochromatic
#3C2677 #5435A5 #7150C7 #977ED6 #BCADE5

Accessibility & contrast

On white

5.72
#7150C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7150C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150C7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150C7#FFFFFF#000000##FFFFFF
##7150C71.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#0064C4
Tritanopia (blue-blind)
#596B84
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7150c7;
/* rgb */ color: rgb(113, 80, 199);
/* oklch */ color: oklch(52.9% 0.177 292.0);
Tailwind
colors: {
  custom: {
    50: '#a082d9',
    500: '#7150c7',
    950: '#000000',
  },
}
SCSS
$custom: #7150c7;
$custom-light: #a082d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7150c7",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 256.639,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52896,
    "c": 0.17701,
    "h": 292
  },
  "luminance": 0.13372
}

Semantic roles & 50–950 ramp

primary
#7150C7
secondary
#C5D2A0
accent
#DB4DB4
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7150C7

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

Preview Lab → · Contrast checker → · Palette generator →

#7150C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva