#7148CF#7148CF

#7148CF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.197 H 292.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7148CF
RGBrgb(113, 72, 207)
HSLhsl(258, 58%, 55%)
HSVhsv(258, 65%, 81%)
CMYKcmyk(45.4%, 65.2%, 0%, 18.8%)
CIE-LABlab(42.23, 48.31, -63.92)
CIE-LCHlch(42.23, 80.12, 307.08°)
OKLaboklab(52.29% 0.0744 -0.1829)
OKLCHoklch(52.29% 0.197 292.1)
XYZxyz(20.3868, 12.6498, 60.3869)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148CF #A6CF48
analogous
#4863CF #7148CF #B548CF
triadic
#7148CF #CF7148 #48CF71
tetradic
#7148CF #CF4863 #A6CF48 #48CFB5
square
#7148CF #CF4863 #A6CF48 #48CFB5
split-complementary
#7148CF #CFB548 #63CF48
monochromatic
#3C217C #542DAD #7148CF #9778DC #BCA9E8

Accessibility & contrast

On white

5.95
#7148CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7148CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148CF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148CF#FFFFFF#000000##FFFFFF
##7148CF1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#556885
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7148cf;
/* rgb */ color: rgb(113, 72, 207);
/* oklch */ color: oklch(52.3% 0.197 292.1);
Tailwind
colors: {
  custom: {
    50: '#a17ddf',
    500: '#7148cf',
    950: '#000000',
  },
}
SCSS
$custom: #7148cf;
$custom-light: #a17ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7148cf",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 258.222,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52288,
    "c": 0.19742,
    "h": 292.1
  },
  "luminance": 0.1265
}

Semantic roles & 50–950 ramp

primary
#7148CF
secondary
#C5D69D
accent
#E246B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7148CF

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

Preview Lab → · Contrast checker → · Palette generator →

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