#7148D2#7148D2

#7148D2 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.5% C 0.201 H 291.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7148D2
RGBrgb(113, 72, 210)
HSLhsl(258, 61%, 55%)
HSVhsv(258, 66%, 82%)
CMYKcmyk(46.2%, 65.7%, 0%, 17.6%)
CIE-LABlab(42.46, 49.13, -65.28)
CIE-LCHlch(42.46, 81.70, 306.96°)
OKLaboklab(52.52% 0.074 -0.1869)
OKLCHoklch(52.52% 0.201 291.6)
XYZxyz(20.7570, 12.7979, 62.3368)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148D2 #A9D248
analogous
#4864D2 #7148D2 #B648D2
triadic
#7148D2 #D27148 #48D271
tetradic
#7148D2 #D24864 #A9D248 #48D2B6
square
#7148D2 #D24864 #A9D248 #48D2B6
split-complementary
#7148D2 #D2B648 #64D248
monochromatic
#3C2080 #532CB1 #7148D2 #9779DE #BDAAEA

Accessibility & contrast

On white

5.90
#7148D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7148D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148D2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148D2#FFFFFF#000000##FFFFFF
##7148D21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#536987
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7148d2;
/* rgb */ color: rgb(113, 72, 210);
/* oklch */ color: oklch(52.5% 0.201 291.6);
Tailwind
colors: {
  custom: {
    50: '#a17de1',
    500: '#7148d2',
    950: '#000000',
  },
}
SCSS
$custom: #7148d2;
$custom-light: #a17de1;
$custom-dark: #000000;
JSON
{
  "hex": "#7148d2",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 257.826,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52522,
    "c": 0.20099,
    "h": 291.6
  },
  "luminance": 0.12799
}

Semantic roles & 50–950 ramp

primary
#7148D2
secondary
#C7D89E
accent
#E444B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7148D2

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

Preview Lab → · Contrast checker → · Palette generator →

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