#7148C2#7148C2

#7148C2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.182 H 294.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7148C2
RGBrgb(113, 72, 194)
HSLhsl(260, 50%, 52%)
HSVhsv(260, 63%, 76%)
CMYKcmyk(41.8%, 62.9%, 0%, 23.9%)
CIE-LABlab(41.28, 44.75, -57.93)
CIE-LCHlch(41.28, 73.20, 307.69°)
OKLaboklab(51.3% 0.0757 -0.1652)
OKLCHoklch(51.3% 0.182 294.6)
XYZxyz(18.8624, 12.0400, 52.3586)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148C2 #99C248
analogous
#485CC2 #7148C2 #AE48C2
triadic
#7148C2 #C27148 #48C271
tetradic
#7148C2 #C2485C #99C248 #48C2AE
square
#7148C2 #C2485C #99C248 #48C2AE
split-complementary
#7148C2 #C2AE48 #5CC248
monochromatic
#3C246C #56339A #7148C2 #9576D1 #B8A4E1

Accessibility & contrast

On white

6.16
#7148C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7148C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148C2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148C2#FFFFFF#000000##FFFFFF
##7148C21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#5C647E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7148c2;
/* rgb */ color: rgb(113, 72, 194);
/* oklch */ color: oklch(51.3% 0.182 294.6);
Tailwind
colors: {
  custom: {
    50: '#a07dd5',
    500: '#7148c2',
    950: '#000000',
  },
}
SCSS
$custom: #7148c2;
$custom-light: #a07dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7148c2",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 260.164,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.513,
    "c": 0.18175,
    "h": 294.6
  },
  "luminance": 0.1204
}

Semantic roles & 50–950 ramp

primary
#7148C2
secondary
#BCCE98
accent
#DA4EAB
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7148C2

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

Preview Lab → · Contrast checker → · Palette generator →

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