#7148CA#7148CA

#7148CA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.9% C 0.191 H 293.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7148CA
RGBrgb(113, 72, 202)
HSLhsl(259, 55%, 54%)
HSVhsv(259, 64%, 79%)
CMYKcmyk(44.1%, 64.4%, 0%, 20.8%)
CIE-LABlab(41.86, 46.93, -61.64)
CIE-LCHlch(41.86, 77.47, 307.29°)
OKLaboklab(51.9% 0.075 -0.1761)
OKLCHoklch(51.9% 0.191 293)
XYZxyz(19.7852, 12.4091, 57.2184)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148CA #A1CA48
analogous
#4860CA #7148CA #B248CA
triadic
#7148CA #CA7148 #48CA71
tetradic
#7148CA #CA4860 #A1CA48 #48CAB2
square
#7148CA #CA4860 #A1CA48 #48CAB2
split-complementary
#7148CA #CAB248 #60CA48
monochromatic
#3C2276 #5530A5 #7148CA #9677D8 #BBA7E5

Accessibility & contrast

On white

6.03
#7148CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7148CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148CA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148CA#FFFFFF#000000##FFFFFF
##7148CA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#586782
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7148ca;
/* rgb */ color: rgb(113, 72, 202);
/* oklch */ color: oklch(51.9% 0.191 293.0);
Tailwind
colors: {
  custom: {
    50: '#a07ddb',
    500: '#7148ca',
    950: '#000000',
  },
}
SCSS
$custom: #7148ca;
$custom-light: #a07ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7148ca",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 258.923,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.19143,
    "h": 293
  },
  "luminance": 0.1241
}

Semantic roles & 50–950 ramp

primary
#7148CA
secondary
#C1D39B
accent
#DE49AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7148CA

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

Preview Lab → · Contrast checker → · Palette generator →

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