#7048CE#7048CE

#7048CE is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.196 H 291.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7048CE
RGBrgb(112, 72, 206)
HSLhsl(258, 58%, 55%)
HSVhsv(258, 65%, 81%)
CMYKcmyk(45.6%, 65%, 0%, 19.2%)
CIE-LABlab(42.05, 47.84, -63.64)
CIE-LCHlch(42.05, 79.61, 306.93°)
OKLaboklab(52.11% 0.0731 -0.1821)
OKLCHoklch(52.11% 0.196 291.9)
XYZxyz(20.1369, 12.5350, 59.7391)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048CE #A6CE48
analogous
#4863CE #7048CE #B348CE
triadic
#7048CE #CE7048 #48CE70
tetradic
#7048CE #CE4863 #A6CE48 #48CEB3
square
#7048CE #CE4863 #A6CE48 #48CEB3
split-complementary
#7048CE #CEB348 #63CE48
monochromatic
#3C217B #532EAB #7048CE #9678DB #BBA9E8

Accessibility & contrast

On white

5.99
#7048CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7048CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048CE
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048CE#FFFFFF#000000##FFFFFF
##7048CE1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#546885
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7048ce;
/* rgb */ color: rgb(112, 72, 206);
/* oklch */ color: oklch(52.1% 0.196 291.9);
Tailwind
colors: {
  custom: {
    50: '#a07dde',
    500: '#7048ce',
    950: '#000000',
  },
}
SCSS
$custom: #7048ce;
$custom-light: #a07dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7048ce",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 257.91,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52113,
    "c": 0.1962,
    "h": 291.9
  },
  "luminance": 0.12536
}

Semantic roles & 50–950 ramp

primary
#7048CE
secondary
#C4D59D
accent
#E147B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7048CE

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

Preview Lab → · Contrast checker → · Palette generator →

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