#7147CF#7147CF

#7147CF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.199 H 292.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7147CF
RGBrgb(113, 71, 207)
HSLhsl(259, 59%, 55%)
HSVhsv(259, 66%, 81%)
CMYKcmyk(45.4%, 65.7%, 0%, 18.8%)
CIE-LABlab(42.03, 48.84, -64.24)
CIE-LCHlch(42.03, 80.70, 307.24°)
OKLaboklab(52.15% 0.0754 -0.1838)
OKLCHoklch(52.15% 0.199 292.3)
XYZxyz(20.3227, 12.5215, 60.3655)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147CF #A5CF47
analogous
#4761CF #7147CF #B547CF
triadic
#7147CF #CF7147 #47CF71
tetradic
#7147CF #CF4761 #A5CF47 #47CFB5
square
#7147CF #CF4761 #A5CF47 #47CFB5
split-complementary
#7147CF #CFB547 #61CF47
monochromatic
#3C207B #542DAC #7147CF #9678DC #BCA8E8

Accessibility & contrast

On white

5.99
#7147CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7147CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147CF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147CF#FFFFFF#000000##FFFFFF
##7147CF1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#556885
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7147cf;
/* rgb */ color: rgb(113, 71, 207);
/* oklch */ color: oklch(52.1% 0.199 292.3);
Tailwind
colors: {
  custom: {
    50: '#a17ddf',
    500: '#7147cf',
    950: '#000000',
  },
}
SCSS
$custom: #7147cf;
$custom-light: #a17ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7147cf",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 258.529,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52146,
    "c": 0.19868,
    "h": 292.3
  },
  "luminance": 0.12522
}

Semantic roles & 50–950 ramp

primary
#7147CF
secondary
#C4D69C
accent
#E246B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7147CF

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

Preview Lab → · Contrast checker → · Palette generator →

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