#7148D9#7148D9

#7148D9 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.1% C 0.209 H 290.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7148D9
RGBrgb(113, 72, 217)
HSLhsl(257, 66%, 57%)
HSVhsv(257, 67%, 85%)
CMYKcmyk(47.9%, 66.8%, 0%, 14.9%)
CIE-LABlab(42.99, 51.06, -68.42)
CIE-LCHlch(42.99, 85.37, 306.73°)
OKLaboklab(53.08% 0.0731 -0.1961)
OKLCHoklch(53.08% 0.209 290.4)
XYZxyz(21.6482, 13.1544, 67.0306)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148D9 #B0D948
analogous
#4867D9 #7148D9 #BA48D9
triadic
#7148D9 #D97148 #48D971
tetradic
#7148D9 #D94867 #B0D948 #48D9BA
square
#7148D9 #D94867 #B0D948 #48D9BA
split-complementary
#7148D9 #D9BA48 #67D948
monochromatic
#3C1D8A #5127BD #7148D9 #987BE4 #C0ADEE

Accessibility & contrast

On white

5.78
#7148D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7148D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148D9
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148D9#FFFFFF#000000##FFFFFF
##7148D91.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#4F6C8B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7148d9;
/* rgb */ color: rgb(113, 72, 217);
/* oklch */ color: oklch(53.1% 0.209 290.4);
Tailwind
colors: {
  custom: {
    50: '#a27ee6',
    500: '#7148d9',
    950: '#000000',
  },
}
SCSS
$custom: #7148d9;
$custom-light: #a27ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#7148d9",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 256.966,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.20927,
    "h": 290.4
  },
  "luminance": 0.13155
}

Semantic roles & 50–950 ramp

primary
#7148D9
secondary
#CBDCA1
accent
#E93FB9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7148D9

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

Preview Lab → · Contrast checker → · Palette generator →

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