#7150D4#7150D4

#7150D4 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.193 H 289.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7150D4
RGBrgb(113, 80, 212)
HSLhsl(255, 61%, 57%)
HSVhsv(255, 62%, 83%)
CMYKcmyk(46.7%, 62.3%, 0%, 16.9%)
CIE-LABlab(44.23, 45.30, -63.54)
CIE-LCHlch(44.23, 78.04, 305.49°)
OKLaboklab(53.86% 0.0656 -0.1817)
OKLCHoklch(53.86% 0.193 289.8)
XYZxyz(21.5590, 14.0007, 63.8410)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150D4 #B3D450
analogous
#5071D4 #7150D4 #B350D4
triadic
#7150D4 #D47150 #50D471
tetradic
#7150D4 #D45071 #B3D450 #50D4B3
square
#7150D4 #D45071 #B3D450 #50D4B3
split-complementary
#7150D4 #D4B350 #71D450
monochromatic
#3B2188 #502EB9 #7150D4 #9981E0 #C1B2EC

Accessibility & contrast

On white

5.53
#7150D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7150D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150D4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150D4#FFFFFF#000000##FFFFFF
##7150D41.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#526F8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7150d4;
/* rgb */ color: rgb(113, 80, 212);
/* oklch */ color: oklch(53.9% 0.193 289.8);
Tailwind
colors: {
  custom: {
    50: '#a183e2',
    500: '#7150d4',
    950: '#000000',
  },
}
SCSS
$custom: #7150d4;
$custom-light: #a183e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7150d4",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 255,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53855,
    "c": 0.19322,
    "h": 289.8
  },
  "luminance": 0.14001
}

Semantic roles & 50–950 ramp

primary
#7150D4
secondary
#CDDBA5
accent
#E444BC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7150D4

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

Preview Lab → · Contrast checker → · Palette generator →

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