#7150D3#7150D3

#7150D3 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.192 H 290.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7150D3
RGBrgb(113, 80, 211)
HSLhsl(255, 60%, 57%)
HSVhsv(255, 62%, 83%)
CMYKcmyk(46.4%, 62.1%, 0%, 17.3%)
CIE-LABlab(44.16, 45.02, -63.09)
CIE-LCHlch(44.16, 77.50, 305.51°)
OKLaboklab(53.78% 0.0657 -0.1804)
OKLCHoklch(53.78% 0.192 290)
XYZxyz(21.4333, 13.9504, 63.1788)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7150D3 #B2D350
analogous
#5070D3 #7150D3 #B350D3
triadic
#7150D3 #D37150 #50D371
tetradic
#7150D3 #D35070 #B2D350 #50D3B3
square
#7150D3 #D35070 #B2D350 #50D3B3
split-complementary
#7150D3 #D3B350 #70D350
monochromatic
#3B2287 #512EB8 #7150D3 #9981DF #C0B2EC

Accessibility & contrast

On white

5.54
#7150D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7150D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7150D3
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7150D3#FFFFFF#000000##FFFFFF
##7150D31.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#526F8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7150d3;
/* rgb */ color: rgb(113, 80, 211);
/* oklch */ color: oklch(53.8% 0.192 290.0);
Tailwind
colors: {
  custom: {
    50: '#a183e1',
    500: '#7150d3',
    950: '#000000',
  },
}
SCSS
$custom: #7150d3;
$custom-light: #a183e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7150d3",
  "rgb": {
    "r": 113,
    "g": 80,
    "b": 211
  },
  "hsl": {
    "h": 255.115,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53779,
    "c": 0.19199,
    "h": 290
  },
  "luminance": 0.13951
}

Semantic roles & 50–950 ramp

primary
#7150D3
secondary
#CDDAA5
accent
#E345BB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7150D3

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

Preview Lab → · Contrast checker → · Palette generator →

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