#7150D6#7150D6

#7150D6 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.196 H 289.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7150D6
RGBrgb(113, 80, 214)
HSLhsl(255, 62%, 58%)
HSVhsv(255, 63%, 84%)
CMYKcmyk(47.2%, 62.6%, 0%, 16.1%)
CIE-LABlab(44.38, 45.87, -64.45)
CIE-LCHlch(44.38, 79.11, 305.44°)
OKLaboklab(54.01% 0.0654 -0.1844)
OKLCHoklch(54.01% 0.196 289.5)
XYZxyz(21.8128, 14.1022, 65.1780)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150D6 #B5D650
analogous
#5072D6 #7150D6 #B450D6
triadic
#7150D6 #D67150 #50D671
tetradic
#7150D6 #D65072 #B5D650 #50D6B4
square
#7150D6 #D65072 #B5D650 #50D6B4
split-complementary
#7150D6 #D6B450 #72D650
monochromatic
#3B218B #502CBD #7150D6 #9982E2 #C1B3ED

Accessibility & contrast

On white

5.50
#7150D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7150D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150D6
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150D6#FFFFFF#000000##FFFFFF
##7150D61.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7150d6;
/* rgb */ color: rgb(113, 80, 214);
/* oklch */ color: oklch(54.0% 0.196 289.5);
Tailwind
colors: {
  custom: {
    50: '#a183e4',
    500: '#7150d6',
    950: '#000000',
  },
}
SCSS
$custom: #7150d6;
$custom-light: #a183e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7150d6",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 214
  },
  "hsl": {
    "h": 254.776,
    "s": 62.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54006,
    "c": 0.19569,
    "h": 289.5
  },
  "luminance": 0.14103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7150D6

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

Preview Lab → · Contrast checker → · Palette generator →

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