#7048CA#7048CA

#7048CA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.191 H 292.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7048CA
RGBrgb(112, 72, 202)
HSLhsl(258, 55%, 54%)
HSVhsv(258, 64%, 79%)
CMYKcmyk(44.6%, 64.4%, 0%, 20.8%)
CIE-LABlab(41.76, 46.74, -61.81)
CIE-LCHlch(41.76, 77.49, 307.09°)
OKLaboklab(51.8% 0.0736 -0.1767)
OKLCHoklch(51.8% 0.191 292.6)
XYZxyz(19.6572, 12.3431, 57.2124)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048CA #A2CA48
analogous
#4861CA #7048CA #B148CA
triadic
#7048CA #CA7048 #48CA70
tetradic
#7048CA #CA4861 #A2CA48 #48CAB1
square
#7048CA #CA4861 #A2CA48 #48CAB1
split-complementary
#7048CA #CAB148 #61CA48
monochromatic
#3C2276 #5430A5 #7048CA #9577D8 #BAA7E5

Accessibility & contrast

On white

6.05
#7048CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7048CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048CA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048CA#FFFFFF#000000##FFFFFF
##7048CA1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#566782
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7048ca;
/* rgb */ color: rgb(112, 72, 202);
/* oklch */ color: oklch(51.8% 0.191 292.6);
Tailwind
colors: {
  custom: {
    50: '#a07ddb',
    500: '#7048ca',
    950: '#000000',
  },
}
SCSS
$custom: #7048ca;
$custom-light: #a07ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7048ca",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 258.462,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51804,
    "c": 0.19139,
    "h": 292.6
  },
  "luminance": 0.12344
}

Semantic roles & 50–950 ramp

primary
#7048CA
secondary
#C2D39B
accent
#DE49B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7048CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7048CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva