#7148CD#7148CD

#7148CD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.195 H 292.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7148CD
RGBrgb(113, 72, 205)
HSLhsl(258, 57%, 54%)
HSVhsv(258, 65%, 80%)
CMYKcmyk(44.9%, 64.9%, 0%, 19.6%)
CIE-LABlab(42.08, 47.76, -63.01)
CIE-LCHlch(42.08, 79.06, 307.16°)
OKLaboklab(52.13% 0.0746 -0.1802)
OKLCHoklch(52.13% 0.195 292.5)
XYZxyz(20.1438, 12.5526, 59.1073)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148CD #A4CD48
analogous
#4862CD #7148CD #B448CD
triadic
#7148CD #CD7148 #48CD71
tetradic
#7148CD #CD4862 #A4CD48 #48CDB4
square
#7148CD #CD4862 #A4CD48 #48CDB4
split-complementary
#7148CD #CDB448 #62CD48
monochromatic
#3C2179 #542EA9 #7148CD #9678DA #BCA8E7

Accessibility & contrast

On white

5.98
#7148CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7148CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148CD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148CD#FFFFFF#000000##FFFFFF
##7148CD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#566884
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7148cd;
/* rgb */ color: rgb(113, 72, 205);
/* oklch */ color: oklch(52.1% 0.195 292.5);
Tailwind
colors: {
  custom: {
    50: '#a17ddd',
    500: '#7148cd',
    950: '#000000',
  },
}
SCSS
$custom: #7148cd;
$custom-light: #a17ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7148cd",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 258.496,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52133,
    "c": 0.19503,
    "h": 292.5
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#7148CD
secondary
#C3D59C
accent
#E047B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7148CD

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

Preview Lab → · Contrast checker → · Palette generator →

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