#7150D1#7150D1

#7150D1 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.6% C 0.190 H 290.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7150D1
RGBrgb(113, 80, 209)
HSLhsl(255, 58%, 57%)
HSVhsv(255, 62%, 82%)
CMYKcmyk(45.9%, 61.7%, 0%, 18%)
CIE-LABlab(44.02, 44.45, -62.17)
CIE-LCHlch(44.02, 76.43, 305.57°)
OKLaboklab(53.63% 0.0658 -0.1777)
OKLCHoklch(53.63% 0.19 290.3)
XYZxyz(21.1841, 13.8507, 61.8665)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150D1 #B0D150
analogous
#5070D1 #7150D1 #B250D1
triadic
#7150D1 #D17150 #50D171
tetradic
#7150D1 #D15070 #B0D150 #50D1B2
square
#7150D1 #D15070 #B0D150 #50D1B2
split-complementary
#7150D1 #D1B250 #70D150
monochromatic
#3C2384 #512FB4 #7150D1 #9880DE #C0B1EA

Accessibility & contrast

On white

5.57
#7150D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7150D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150D1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150D1#FFFFFF#000000##FFFFFF
##7150D11.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#536E89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7150d1;
/* rgb */ color: rgb(113, 80, 209);
/* oklch */ color: oklch(53.6% 0.190 290.3);
Tailwind
colors: {
  custom: {
    50: '#a183e0',
    500: '#7150d1',
    950: '#000000',
  },
}
SCSS
$custom: #7150d1;
$custom-light: #a183e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7150d1",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 209
  },
  "hsl": {
    "h": 255.349,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53629,
    "c": 0.18951,
    "h": 290.3
  },
  "luminance": 0.13851
}

Semantic roles & 50–950 ramp

primary
#7150D1
secondary
#CBD9A4
accent
#E246BA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7150D1

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

Preview Lab → · Contrast checker → · Palette generator →

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