#7150CF#7150CF

#7150CF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.187 H 290.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7150CF
RGBrgb(113, 80, 207)
HSLhsl(256, 57%, 56%)
HSVhsv(256, 61%, 81%)
CMYKcmyk(45.4%, 61.4%, 0%, 18.8%)
CIE-LABlab(43.88, 43.89, -61.25)
CIE-LCHlch(43.88, 75.35, 305.62°)
OKLaboklab(53.48% 0.0659 -0.175)
OKLCHoklch(53.48% 0.187 290.6)
XYZxyz(20.9380, 13.7523, 60.5706)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150CF #AECF50
analogous
#506FCF #7150CF #B150CF
triadic
#7150CF #CF7150 #50CF71
tetradic
#7150CF #CF506F #AECF50 #50CFB1
square
#7150CF #CF506F #AECF50 #50CFB1
split-complementary
#7150CF #CFB150 #6FCF50
monochromatic
#3C2381 #5231B1 #7150CF #9880DC #BFB0E9

Accessibility & contrast

On white

5.60
#7150CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7150CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150CF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150CF#FFFFFF#000000##FFFFFF
##7150CF1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#546D88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7150cf;
/* rgb */ color: rgb(113, 80, 207);
/* oklch */ color: oklch(53.5% 0.187 290.6);
Tailwind
colors: {
  custom: {
    50: '#a083de',
    500: '#7150cf',
    950: '#000000',
  },
}
SCSS
$custom: #7150cf;
$custom-light: #a083de;
$custom-dark: #000000;
JSON
{
  "hex": "#7150cf",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 255.591,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53481,
    "c": 0.18703,
    "h": 290.6
  },
  "luminance": 0.13753
}

Semantic roles & 50–950 ramp

primary
#7150CF
secondary
#CAD8A3
accent
#E048B9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7150CF

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

Preview Lab → · Contrast checker → · Palette generator →

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