#7148C4#7148C4

#7148C4 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.184 H 294.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7148C4
RGBrgb(113, 72, 196)
HSLhsl(260, 51%, 53%)
HSVhsv(260, 63%, 77%)
CMYKcmyk(42.3%, 63.3%, 0%, 23.1%)
CIE-LABlab(41.42, 45.29, -58.86)
CIE-LCHlch(41.42, 74.27, 307.58°)
OKLaboklab(51.45% 0.0755 -0.168)
OKLCHoklch(51.45% 0.184 294.2)
XYZxyz(19.0885, 12.1305, 53.5495)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148C4 #9BC448
analogous
#485DC4 #7148C4 #AF48C4
triadic
#7148C4 #C47148 #48C471
tetradic
#7148C4 #C4485D #9BC448 #48C4AF
square
#7148C4 #C4485D #9BC448 #48C4AF
split-complementary
#7148C4 #C4AF48 #5DC448
monochromatic
#3C236E #55329C #7148C4 #9576D3 #B9A5E2

Accessibility & contrast

On white

6.13
#7148C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7148C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148C4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148C4#FFFFFF#000000##FFFFFF
##7148C41.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#5B657F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7148c4;
/* rgb */ color: rgb(113, 72, 196);
/* oklch */ color: oklch(51.4% 0.184 294.2);
Tailwind
colors: {
  custom: {
    50: '#a07dd7',
    500: '#7148c4',
    950: '#000000',
  },
}
SCSS
$custom: #7148c4;
$custom-light: #a07dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7148c4",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 196
  },
  "hsl": {
    "h": 259.839,
    "s": 51.24,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51449,
    "c": 0.18418,
    "h": 294.2
  },
  "luminance": 0.12131
}

Semantic roles & 50–950 ramp

primary
#7148C4
secondary
#BDCF99
accent
#DB4DAC
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7148C4

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

Preview Lab → · Contrast checker → · Palette generator →

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