#7247CB#7247CB

#7247CB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.9% C 0.194 H 293.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7247CB
RGBrgb(114, 71, 203)
HSLhsl(260, 56%, 54%)
HSVhsv(260, 65%, 80%)
CMYKcmyk(43.8%, 65%, 0%, 20.4%)
CIE-LABlab(41.84, 47.94, -62.25)
CIE-LCHlch(41.84, 78.57, 307.60°)
OKLaboklab(51.93% 0.0773 -0.1779)
OKLCHoklch(51.93% 0.194 293.5)
XYZxyz(19.9692, 12.3951, 57.8287)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7247CB #A0CB47
analogous
#475ECB #7247CB #B447CB
triadic
#7247CB #CB7247 #47CB72
tetradic
#7247CB #CB475E #A0CB47 #47CBB4
square
#7247CB #CB475E #A0CB47 #47CBB4
split-complementary
#7247CB #CBB447 #5ECB47
monochromatic
#3D2176 #562FA6 #7247CB #9777D8 #BBA6E6

Accessibility & contrast

On white

6.04
#7247CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7247CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7247CB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7247CB#FFFFFF#000000##FFFFFF
##7247CB1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#596683
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7247cb;
/* rgb */ color: rgb(114, 71, 203);
/* oklch */ color: oklch(51.9% 0.194 293.5);
Tailwind
colors: {
  custom: {
    50: '#a17ddc',
    500: '#7247cb',
    950: '#000000',
  },
}
SCSS
$custom: #7247cb;
$custom-light: #a17ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7247cb",
  "rgb": {
    "r": 114,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 259.545,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51934,
    "c": 0.19395,
    "h": 293.5
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#7247CB
secondary
#C1D39B
accent
#DF49AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7247CB

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

Preview Lab → · Contrast checker → · Palette generator →

#7247CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva