#7150D5#7150D5

#7150D5 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.194 H 289.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7150D5
RGBrgb(113, 80, 213)
HSLhsl(255, 61%, 57%)
HSVhsv(255, 62%, 84%)
CMYKcmyk(46.9%, 62.4%, 0%, 16.5%)
CIE-LABlab(44.31, 45.58, -64.00)
CIE-LCHlch(44.31, 78.57, 305.46°)
OKLaboklab(53.93% 0.0655 -0.1831)
OKLCHoklch(53.93% 0.194 289.7)
XYZxyz(21.6855, 14.0513, 64.5074)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150D5 #B4D550
analogous
#5072D5 #7150D5 #B350D5
triadic
#7150D5 #D57150 #50D571
tetradic
#7150D5 #D55072 #B4D550 #50D5B3
square
#7150D5 #D55072 #B4D550 #50D5B3
split-complementary
#7150D5 #D5B350 #72D550
monochromatic
#3B218A #502DBB #7150D5 #9981E1 #C1B3ED

Accessibility & contrast

On white

5.51
#7150D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7150D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150D5
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150D5#FFFFFF#000000##FFFFFF
##7150D51.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#516F8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7150d5;
/* rgb */ color: rgb(113, 80, 213);
/* oklch */ color: oklch(53.9% 0.194 289.7);
Tailwind
colors: {
  custom: {
    50: '#a183e3',
    500: '#7150d5',
    950: '#000000',
  },
}
SCSS
$custom: #7150d5;
$custom-light: #a183e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7150d5",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 213
  },
  "hsl": {
    "h": 254.887,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5393,
    "c": 0.19446,
    "h": 289.7
  },
  "luminance": 0.14052
}

Semantic roles & 50–950 ramp

primary
#7150D5
secondary
#CEDBA6
accent
#E443BC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7150D5

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

Preview Lab → · Contrast checker → · Palette generator →

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