#7150D9#7150D9

#7150D9 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.199 H 289.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7150D9
RGBrgb(113, 80, 217)
HSLhsl(254, 64%, 58%)
HSVhsv(254, 63%, 85%)
CMYKcmyk(47.9%, 63.1%, 0%, 14.9%)
CIE-LABlab(44.60, 46.72, -65.81)
CIE-LCHlch(44.60, 80.71, 305.37°)
OKLaboklab(54.24% 0.0652 -0.1884)
OKLCHoklch(54.24% 0.199 289.1)
XYZxyz(22.1995, 14.2569, 67.2143)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150D9 #B8D950
analogous
#5073D9 #7150D9 #B650D9
triadic
#7150D9 #D97150 #50D971
tetradic
#7150D9 #D95073 #B8D950 #50D9B6
square
#7150D9 #D95073 #B8D950 #50D9B6
split-complementary
#7150D9 #D9B650 #73D950
monochromatic
#3A1F8F #4F2AC2 #7150D9 #9A82E4 #C3B5EF

Accessibility & contrast

On white

5.45
#7150D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7150D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150D9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150D9#FFFFFF#000000##FFFFFF
##7150D91.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#4E718D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7150d9;
/* rgb */ color: rgb(113, 80, 217);
/* oklch */ color: oklch(54.2% 0.199 289.1);
Tailwind
colors: {
  custom: {
    50: '#a283e6',
    500: '#7150d9',
    950: '#000000',
  },
}
SCSS
$custom: #7150d9;
$custom-light: #a283e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7150d9",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 217
  },
  "hsl": {
    "h": 254.453,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54235,
    "c": 0.19937,
    "h": 289.1
  },
  "luminance": 0.14258
}

Semantic roles & 50–950 ramp

primary
#7150D9
secondary
#D1DEA7
accent
#E740BF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7150D9

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

Preview Lab → · Contrast checker → · Palette generator →

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