#7043C2#7043C2

#7043C2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.5% C 0.188 H 295.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7043C2
RGBrgb(112, 67, 194)
HSLhsl(261, 51%, 51%)
HSVhsv(261, 65%, 76%)
CMYKcmyk(42.3%, 65.5%, 0%, 23.9%)
CIE-LABlab(40.17, 47.26, -59.74)
CIE-LCHlch(40.17, 76.17, 308.35°)
OKLaboklab(50.47% 0.0798 -0.1706)
OKLCHoklch(50.47% 0.188 295.1)
XYZxyz(18.4243, 11.3537, 52.2492)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7043C2 #95C243
analogous
#4355C2 #7043C2 #AF43C2
triadic
#7043C2 #C27043 #43C270
tetradic
#7043C2 #C24355 #95C243 #43C2AF
square
#7043C2 #C24355 #95C243 #43C2AF
split-complementary
#7043C2 #C2AF43 #55C243
monochromatic
#3B2269 #553197 #7043C2 #9371D1 #B69FE0

Accessibility & contrast

On white

6.42
#7043C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7043C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7043C2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7043C2#FFFFFF#000000##FFFFFF
##7043C21.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#5A617D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7043c2;
/* rgb */ color: rgb(112, 67, 194);
/* oklch */ color: oklch(50.5% 0.188 295.1);
Tailwind
colors: {
  custom: {
    50: '#9f7ad5',
    500: '#7043c2',
    950: '#000000',
  },
}
SCSS
$custom: #7043c2;
$custom-light: #9f7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#7043c2",
  "rgb": {
    "r": 112,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 261.26,
    "s": 51.004,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50473,
    "c": 0.18831,
    "h": 295.1
  },
  "luminance": 0.11354
}

Semantic roles & 50–950 ramp

primary
#7043C2
secondary
#B9CC94
accent
#DA4DA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7043C2

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

Preview Lab → · Contrast checker → · Palette generator →

#7043C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva