#7150D2#7150D2

#7150D2 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.191 H 290.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7150D2
RGBrgb(113, 80, 210)
HSLhsl(255, 59%, 57%)
HSVhsv(255, 62%, 82%)
CMYKcmyk(46.2%, 61.9%, 0%, 17.6%)
CIE-LABlab(44.09, 44.74, -62.63)
CIE-LCHlch(44.09, 76.97, 305.54°)
OKLaboklab(53.7% 0.0657 -0.1791)
OKLCHoklch(53.7% 0.191 290.2)
XYZxyz(21.3083, 13.9004, 62.5206)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150D2 #B1D250
analogous
#5070D2 #7150D2 #B250D2
triadic
#7150D2 #D27150 #50D271
tetradic
#7150D2 #D25070 #B1D250 #50D2B2
square
#7150D2 #D25070 #B1D250 #50D2B2
split-complementary
#7150D2 #D2B250 #70D250
monochromatic
#3B2285 #512FB6 #7150D2 #9981DF #C0B1EB

Accessibility & contrast

On white

5.56
#7150D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7150D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150D2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150D2#FFFFFF#000000##FFFFFF
##7150D21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7150d2;
/* rgb */ color: rgb(113, 80, 210);
/* oklch */ color: oklch(53.7% 0.191 290.2);
Tailwind
colors: {
  custom: {
    50: '#a183e1',
    500: '#7150d2',
    950: '#000000',
  },
}
SCSS
$custom: #7150d2;
$custom-light: #a183e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7150d2",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 255.231,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53704,
    "c": 0.19076,
    "h": 290.2
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7150D2

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

Preview Lab → · Contrast checker → · Palette generator →

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