#7148CB#7148CB

#7148CB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.193 H 292.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7148CB
RGBrgb(113, 72, 203)
HSLhsl(259, 56%, 54%)
HSVhsv(259, 65%, 80%)
CMYKcmyk(44.3%, 64.5%, 0%, 20.4%)
CIE-LABlab(41.93, 47.21, -62.10)
CIE-LCHlch(41.93, 78.00, 307.24°)
OKLaboklab(51.98% 0.0748 -0.1775)
OKLCHoklch(51.98% 0.193 292.9)
XYZxyz(19.9040, 12.4566, 57.8440)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148CB #A2CB48
analogous
#4861CB #7148CB #B348CB
triadic
#7148CB #CB7148 #48CB71
tetradic
#7148CB #CB4861 #A2CB48 #48CBB3
square
#7148CB #CB4861 #A2CB48 #48CBB3
split-complementary
#7148CB #CBB348 #61CB48
monochromatic
#3C2277 #552FA6 #7148CB #9678D9 #BBA7E6

Accessibility & contrast

On white

6.01
#7148CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7148CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148CB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148CB#FFFFFF#000000##FFFFFF
##7148CB1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#576783
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7148cb;
/* rgb */ color: rgb(113, 72, 203);
/* oklch */ color: oklch(52.0% 0.193 292.9);
Tailwind
colors: {
  custom: {
    50: '#a17ddc',
    500: '#7148cb',
    950: '#000000',
  },
}
SCSS
$custom: #7148cb;
$custom-light: #a17ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7148cb",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 258.779,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51979,
    "c": 0.19263,
    "h": 292.9
  },
  "luminance": 0.12457
}

Semantic roles & 50–950 ramp

primary
#7148CB
secondary
#C2D39B
accent
#DF49B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7148CB

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

Preview Lab → · Contrast checker → · Palette generator →

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