#6942AE#6942AE

#6942AE is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.1% C 0.165 H 296.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6942AE
RGBrgb(105, 66, 174)
HSLhsl(262, 45%, 47%)
HSVhsv(262, 62%, 68%)
CMYKcmyk(39.7%, 62.1%, 0%, 31.8%)
CIE-LABlab(37.76, 40.92, -51.90)
CIE-LCHlch(37.76, 66.09, 308.25°)
OKLaboklab(48.1% 0.073 -0.1478)
OKLCHoklch(48.1% 0.165 296.3)
XYZxyz(15.4119, 9.9554, 41.1458)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6942AE #87AE42
analogous
#4251AE #6942AE #9F42AE
triadic
#6942AE #AE6942 #42AE69
tetradic
#6942AE #AE4251 #87AE42 #42AE9F
square
#6942AE #AE4251 #87AE42 #42AE9F
split-complementary
#6942AE #AE9F42 #51AE42
monochromatic
#332055 #4E3182 #6942AE #8A68C6 #AC94D6

Accessibility & contrast

On white

7.02
#6942AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6942AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6942AE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6942AE#FFFFFF#000000##FFFFFF
##6942AE1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#0857AC
Tritanopia (blue-blind)
#585A72
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6942ae;
/* rgb */ color: rgb(105, 66, 174);
/* oklch */ color: oklch(48.1% 0.165 296.3);
Tailwind
colors: {
  custom: {
    50: '#9978c7',
    500: '#6942ae',
    950: '#000000',
  },
}
SCSS
$custom: #6942ae;
$custom-light: #9978c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6942ae",
  "rgb": {
    "r": 105,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 261.667,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48098,
    "c": 0.16481,
    "h": 296.3
  },
  "luminance": 0.09956
}

Semantic roles & 50–950 ramp

primary
#6942AE
secondary
#AEC28A
accent
#D553A6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6942AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6942AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva