#7147CB#7147CB

#7147CB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.194 H 293.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7147CB
RGBrgb(113, 71, 203)
HSLhsl(259, 56%, 54%)
HSVhsv(259, 65%, 80%)
CMYKcmyk(44.3%, 65%, 0%, 20.4%)
CIE-LABlab(41.73, 47.75, -62.42)
CIE-LCHlch(41.73, 78.59, 307.41°)
OKLaboklab(51.84% 0.0759 -0.1784)
OKLCHoklch(51.84% 0.194 293)
XYZxyz(19.8398, 12.3284, 57.8226)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7147CB #A1CB47
analogous
#475FCB #7147CB #B347CB
triadic
#7147CB #CB7147 #47CB71
tetradic
#7147CB #CB475F #A1CB47 #47CBB3
square
#7147CB #CB475F #A1CB47 #47CBB3
split-complementary
#7147CB #CBB347 #5FCB47
monochromatic
#3C2176 #552FA6 #7147CB #9677D8 #BBA6E6

Accessibility & contrast

On white

6.06
#7147CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7147CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7147CB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7147CB#FFFFFF#000000##FFFFFF
##7147CB1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#576683
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7147cb;
/* rgb */ color: rgb(113, 71, 203);
/* oklch */ color: oklch(51.8% 0.194 293.0);
Tailwind
colors: {
  custom: {
    50: '#a17ddc',
    500: '#7147cb',
    950: '#000000',
  },
}
SCSS
$custom: #7147cb;
$custom-light: #a17ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7147cb",
  "rgb": {
    "r": 113,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 259.091,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51835,
    "c": 0.19392,
    "h": 293
  },
  "luminance": 0.12329
}

Semantic roles & 50–950 ramp

primary
#7147CB
secondary
#C1D39B
accent
#DF49AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7147CB

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

Preview Lab → · Contrast checker → · Palette generator →

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