#7148CE#7148CE

#7148CE is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.2% C 0.196 H 292.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7148CE
RGBrgb(113, 72, 206)
HSLhsl(258, 58%, 55%)
HSVhsv(258, 65%, 81%)
CMYKcmyk(45.1%, 65%, 0%, 19.2%)
CIE-LABlab(42.16, 48.03, -63.47)
CIE-LCHlch(42.16, 79.59, 307.12°)
OKLaboklab(52.21% 0.0745 -0.1815)
OKLCHoklch(52.21% 0.196 292.3)
XYZxyz(20.2649, 12.6010, 59.7451)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148CE #A5CE48
analogous
#4862CE #7148CE #B448CE
triadic
#7148CE #CE7148 #48CE71
tetradic
#7148CE #CE4862 #A5CE48 #48CEB4
square
#7148CE #CE4862 #A5CE48 #48CEB4
split-complementary
#7148CE #CEB448 #62CE48
monochromatic
#3C217B #542EAB #7148CE #9678DB #BCA9E8

Accessibility & contrast

On white

5.97
#7148CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7148CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148CE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148CE#FFFFFF#000000##FFFFFF
##7148CE1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#566885
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7148ce;
/* rgb */ color: rgb(113, 72, 206);
/* oklch */ color: oklch(52.2% 0.196 292.3);
Tailwind
colors: {
  custom: {
    50: '#a17dde',
    500: '#7148ce',
    950: '#000000',
  },
}
SCSS
$custom: #7148ce;
$custom-light: #a17dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7148ce",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 258.358,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5221,
    "c": 0.19623,
    "h": 292.3
  },
  "luminance": 0.12602
}

Semantic roles & 50–950 ramp

primary
#7148CE
secondary
#C4D59D
accent
#E147B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7148CE

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

Preview Lab → · Contrast checker → · Palette generator →

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