#7150D7#7150D7

#7150D7 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.197 H 289.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7150D7
RGBrgb(113, 80, 215)
HSLhsl(255, 63%, 58%)
HSVhsv(255, 63%, 84%)
CMYKcmyk(47.4%, 62.8%, 0%, 15.7%)
CIE-LABlab(44.45, 46.15, -64.91)
CIE-LCHlch(44.45, 79.64, 305.41°)
OKLaboklab(54.08% 0.0653 -0.1858)
OKLCHoklch(54.08% 0.197 289.4)
XYZxyz(21.9409, 14.1535, 65.8526)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150D7 #B6D750
analogous
#5072D7 #7150D7 #B550D7
triadic
#7150D7 #D77150 #50D771
tetradic
#7150D7 #D75072 #B6D750 #50D7B5
square
#7150D7 #D75072 #B6D750 #50D7B5
split-complementary
#7150D7 #D7B550 #72D750
monochromatic
#3B208C #4F2BBE #7150D7 #9982E2 #C2B4EE

Accessibility & contrast

On white

5.48
#7150D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7150D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150D7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150D7#FFFFFF#000000##FFFFFF
##7150D71.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#50708C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7150d7;
/* rgb */ color: rgb(113, 80, 215);
/* oklch */ color: oklch(54.1% 0.197 289.4);
Tailwind
colors: {
  custom: {
    50: '#a183e4',
    500: '#7150d7',
    950: '#000000',
  },
}
SCSS
$custom: #7150d7;
$custom-light: #a183e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7150d7",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 254.667,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54082,
    "c": 0.19692,
    "h": 289.4
  },
  "luminance": 0.14154
}

Semantic roles & 50–950 ramp

primary
#7150D7
secondary
#CFDCA6
accent
#E642BE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7150D7

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

Preview Lab → · Contrast checker → · Palette generator →

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