#7148C7#7148C7

#7148C7 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.188 H 293.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7148C7
RGBrgb(113, 72, 199)
HSLhsl(259, 53%, 53%)
HSVhsv(259, 64%, 78%)
CMYKcmyk(43.2%, 63.8%, 0%, 22%)
CIE-LABlab(41.64, 46.11, -60.26)
CIE-LCHlch(41.64, 75.88, 307.43°)
OKLaboklab(51.68% 0.0752 -0.1721)
OKLCHoklch(51.68% 0.188 293.6)
XYZxyz(19.4334, 12.2684, 55.3659)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148C7 #9EC748
analogous
#485EC7 #7148C7 #B048C7
triadic
#7148C7 #C77148 #48C771
tetradic
#7148C7 #C7485E #9EC748 #48C7B0
square
#7148C7 #C7485E #9EC748 #48C7B0
split-complementary
#7148C7 #C7B048 #5EC748
monochromatic
#3C2372 #5531A1 #7148C7 #9577D5 #BAA6E4

Accessibility & contrast

On white

6.08
#7148C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7148C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148C7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148C7#FFFFFF#000000##FFFFFF
##7148C71.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#596681
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7148c7;
/* rgb */ color: rgb(113, 72, 199);
/* oklch */ color: oklch(51.7% 0.188 293.6);
Tailwind
colors: {
  custom: {
    50: '#a07dd9',
    500: '#7148c7',
    950: '#000000',
  },
}
SCSS
$custom: #7148c7;
$custom-light: #a07dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7148c7",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 259.37,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51675,
    "c": 0.18781,
    "h": 293.6
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#7148C7
secondary
#BFD19A
accent
#DD4BAE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7148C7

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

Preview Lab → · Contrast checker → · Palette generator →

#7148C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva