#7148DD#7148DD

#7148DD is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.4% C 0.214 H 289.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7148DD
RGBrgb(113, 72, 221)
HSLhsl(257, 69%, 57%)
HSVhsv(257, 67%, 87%)
CMYKcmyk(48.9%, 67.4%, 0%, 13.3%)
CIE-LABlab(43.31, 52.17, -70.20)
CIE-LCHlch(43.31, 87.46, 306.62°)
OKLaboklab(53.4% 0.0725 -0.2013)
OKLCHoklch(53.4% 0.214 289.8)
XYZxyz(22.1748, 13.3650, 69.8039)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148DD #B4DD48
analogous
#4869DD #7148DD #BC48DD
triadic
#7148DD #DD7148 #48DD71
tetradic
#7148DD #DD4869 #B4DD48 #48DDBC
square
#7148DD #DD4869 #B4DD48 #48DDBC
split-complementary
#7148DD #DDBC48 #69DD48
monochromatic
#3B1B90 #5024C3 #7148DD #997CE7 #C1AFF0

Accessibility & contrast

On white

5.72
#7148DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7148DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148DD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148DD#FFFFFF#000000##FFFFFF
##7148DD1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E2
Deuteranopia (green-blind)
#0063DA
Tritanopia (blue-blind)
#4C6D8D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7148dd;
/* rgb */ color: rgb(113, 72, 221);
/* oklch */ color: oklch(53.4% 0.214 289.8);
Tailwind
colors: {
  custom: {
    50: '#a37ee9',
    500: '#7148dd',
    950: '#000000',
  },
}
SCSS
$custom: #7148dd;
$custom-light: #a37ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7148dd",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 256.51,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53399,
    "c": 0.21397,
    "h": 289.8
  },
  "luminance": 0.13366
}

Semantic roles & 50–950 ramp

primary
#7148DD
secondary
#CEDEA2
accent
#EC3CBB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7148DD

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

Preview Lab → · Contrast checker → · Palette generator →

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