#7150C2#7150C2

#7150C2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.5% C 0.171 H 292.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7150C2
RGBrgb(113, 80, 194)
HSLhsl(257, 48%, 54%)
HSVhsv(257, 59%, 76%)
CMYKcmyk(41.8%, 58.8%, 0%, 23.9%)
CIE-LABlab(42.98, 40.25, -55.19)
CIE-LCHlch(42.98, 68.31, 306.10°)
OKLaboklab(52.54% 0.0665 -0.1572)
OKLCHoklch(52.54% 0.171 292.9)
XYZxyz(19.4137, 13.1425, 52.5424)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150C2 #A1C250
analogous
#5068C2 #7150C2 #AA50C2
triadic
#7150C2 #C27150 #50C271
tetradic
#7150C2 #C25068 #A1C250 #50C2AA
square
#7150C2 #C25068 #A1C250 #50C2AA
split-complementary
#7150C2 #C2AA50 #68C250
monochromatic
#3C2770 #55379E #7150C2 #967DD2 #BBABE2

Accessibility & contrast

On white

5.79
#7150C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7150C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150C2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150C2#FFFFFF#000000##FFFFFF
##7150C21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#1363C0
Tritanopia (blue-blind)
#5B6981
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7150c2;
/* rgb */ color: rgb(113, 80, 194);
/* oklch */ color: oklch(52.5% 0.171 292.9);
Tailwind
colors: {
  custom: {
    50: '#9f82d5',
    500: '#7150c2',
    950: '#000000',
  },
}
SCSS
$custom: #7150c2;
$custom-light: #9f82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7150c2",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 257.368,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.17067,
    "h": 292.9
  },
  "luminance": 0.13143
}

Semantic roles & 50–950 ramp

primary
#7150C2
secondary
#C1CF9F
accent
#D850B1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7150C2

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

Preview Lab → · Contrast checker → · Palette generator →

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