#7150D8#7150D8

#7150D8 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.198 H 289.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7150D8
RGBrgb(113, 80, 216)
HSLhsl(255, 64%, 58%)
HSVhsv(255, 63%, 85%)
CMYKcmyk(47.7%, 63%, 0%, 15.3%)
CIE-LABlab(44.53, 46.43, -65.36)
CIE-LCHlch(44.53, 80.17, 305.39°)
OKLaboklab(54.16% 0.0653 -0.1871)
OKLCHoklch(54.16% 0.198 289.2)
XYZxyz(22.0698, 14.2050, 66.5314)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150D8 #B7D850
analogous
#5073D8 #7150D8 #B550D8
triadic
#7150D8 #D87150 #50D871
tetradic
#7150D8 #D85073 #B7D850 #50D8B5
square
#7150D8 #D85073 #B7D850 #50D8B5
split-complementary
#7150D8 #D8B550 #73D850
monochromatic
#3A208E #4F2BC0 #7150D8 #9A82E3 #C2B4EE

Accessibility & contrast

On white

5.47
#7150D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7150D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150D8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150D8#FFFFFF#000000##FFFFFF
##7150D81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#4F708D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7150d8;
/* rgb */ color: rgb(113, 80, 216);
/* oklch */ color: oklch(54.2% 0.198 289.2);
Tailwind
colors: {
  custom: {
    50: '#a283e5',
    500: '#7150d8',
    950: '#000000',
  },
}
SCSS
$custom: #7150d8;
$custom-light: #a283e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7150d8",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 254.559,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54158,
    "c": 0.19815,
    "h": 289.2
  },
  "luminance": 0.14206
}

Semantic roles & 50–950 ramp

primary
#7150D8
secondary
#D0DDA7
accent
#E741BE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7150D8

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

Preview Lab → · Contrast checker → · Palette generator →

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