#7147D2#7147D2

#7147D2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.4% C 0.202 H 291.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7147D2
RGBrgb(113, 71, 210)
HSLhsl(258, 61%, 55%)
HSVhsv(258, 66%, 82%)
CMYKcmyk(46.2%, 66.2%, 0%, 17.6%)
CIE-LABlab(42.26, 49.66, -65.60)
CIE-LCHlch(42.26, 82.28, 307.13°)
OKLaboklab(52.38% 0.075 -0.1878)
OKLCHoklch(52.38% 0.202 291.8)
XYZxyz(20.6929, 12.6696, 62.3155)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147D2 #A8D247
analogous
#4763D2 #7147D2 #B647D2
triadic
#7147D2 #D27147 #47D271
tetradic
#7147D2 #D24763 #A8D247 #47D2B6
square
#7147D2 #D24763 #A8D247 #47D2B6
split-complementary
#7147D2 #D2B647 #63D247
monochromatic
#3C1F7F #542BB1 #7147D2 #9778DE #BDA9EA

Accessibility & contrast

On white

5.94
#7147D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7147D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147D2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147D2#FFFFFF#000000##FFFFFF
##7147D21.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#536986
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7147d2;
/* rgb */ color: rgb(113, 71, 210);
/* oklch */ color: oklch(52.4% 0.202 291.8);
Tailwind
colors: {
  custom: {
    50: '#a17de1',
    500: '#7147d2',
    950: '#000000',
  },
}
SCSS
$custom: #7147d2;
$custom-light: #a17de1;
$custom-dark: #000000;
JSON
{
  "hex": "#7147d2",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 258.129,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52381,
    "c": 0.20223,
    "h": 291.8
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#7147D2
secondary
#C6D89D
accent
#E444B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7147D2

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

Preview Lab → · Contrast checker → · Palette generator →

#7147D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva