#7148CC#7148CC

#7148CC is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.194 H 292.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7148CC
RGBrgb(113, 72, 204)
HSLhsl(259, 56%, 54%)
HSVhsv(259, 65%, 80%)
CMYKcmyk(44.6%, 64.7%, 0%, 20%)
CIE-LABlab(42.01, 47.48, -62.55)
CIE-LCHlch(42.01, 78.53, 307.20°)
OKLaboklab(52.06% 0.0747 -0.1788)
OKLCHoklch(52.06% 0.194 292.7)
XYZxyz(20.0235, 12.5045, 58.4736)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148CC #A3CC48
analogous
#4861CC #7148CC #B348CC
triadic
#7148CC #CC7148 #48CC71
tetradic
#7148CC #CC4861 #A3CC48 #48CCB3
square
#7148CC #CC4861 #A3CC48 #48CCB3
split-complementary
#7148CC #CCB348 #61CC48
monochromatic
#3C2178 #542FA8 #7148CC #9678D9 #BBA8E7

Accessibility & contrast

On white

6.00
#7148CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7148CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148CC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148CC#FFFFFF#000000##FFFFFF
##7148CC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#576784
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7148cc;
/* rgb */ color: rgb(113, 72, 204);
/* oklch */ color: oklch(52.1% 0.194 292.7);
Tailwind
colors: {
  custom: {
    50: '#a17ddc',
    500: '#7148cc',
    950: '#000000',
  },
}
SCSS
$custom: #7148cc;
$custom-light: #a17ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7148cc",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 258.636,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52056,
    "c": 0.19383,
    "h": 292.7
  },
  "luminance": 0.12505
}

Semantic roles & 50–950 ramp

primary
#7148CC
secondary
#C3D49C
accent
#E048B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7148CC

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

Preview Lab → · Contrast checker → · Palette generator →

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