#7148C8#7148C8

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

Color values

HEX#7148C8
RGBrgb(113, 72, 200)
HSLhsl(259, 54%, 53%)
HSVhsv(259, 64%, 78%)
CMYKcmyk(43.5%, 64%, 0%, 21.6%)
CIE-LABlab(41.71, 46.39, -60.72)
CIE-LCHlch(41.71, 76.41, 307.38°)
OKLaboklab(51.75% 0.0752 -0.1734)
OKLCHoklch(51.75% 0.189 293.4)
XYZxyz(19.5499, 12.3150, 55.9794)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148C8 #9FC848
analogous
#485FC8 #7148C8 #B148C8
triadic
#7148C8 #C87148 #48C871
tetradic
#7148C8 #C8485F #9FC848 #48C8B1
square
#7148C8 #C8485F #9FC848 #48C8B1
split-complementary
#7148C8 #C8B148 #5FC848
monochromatic
#3C2373 #5531A2 #7148C8 #9677D6 #BAA6E4

Accessibility & contrast

On white

6.06
#7148C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7148C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148C8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148C8#FFFFFF#000000##FFFFFF
##7148C81.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7148c8;
/* rgb */ color: rgb(113, 72, 200);
/* oklch */ color: oklch(51.8% 0.189 293.4);
Tailwind
colors: {
  custom: {
    50: '#a07dda',
    500: '#7148c8',
    950: '#000000',
  },
}
SCSS
$custom: #7148c8;
$custom-light: #a07dda;
$custom-dark: #000000;
JSON
{
  "hex": "#7148c8",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 259.219,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51751,
    "c": 0.18902,
    "h": 293.4
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7148C8

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

Preview Lab → · Contrast checker → · Palette generator →

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