#6942CA#6942CA

#6942CA is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.199 H 290.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#6942CA
RGBrgb(105, 66, 202)
HSLhsl(257, 56%, 53%)
HSVhsv(257, 67%, 79%)
CMYKcmyk(48%, 67.3%, 0%, 20.8%)
CIE-LABlab(39.85, 48.66, -64.94)
CIE-LCHlch(39.85, 81.14, 306.85°)
OKLaboklab(50.27% 0.07 -0.1861)
OKLCHoklch(50.27% 0.199 290.6)
XYZxyz(18.4316, 11.1632, 57.0492)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6942CA #A3CA42
analogous
#425FCA #6942CA #AD42CA
triadic
#6942CA #CA6942 #42CA69
tetradic
#6942CA #CA425F #A3CA42 #42CAAD
square
#6942CA #CA425F #A3CA42 #42CAAD
split-complementary
#6942CA #CAAD42 #5FCA42
monochromatic
#372072 #4F2DA2 #6942CA #8F72D7 #B5A2E5

Accessibility & contrast

On white

6.50
#6942CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6942CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6942CA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6942CA#FFFFFF#000000##FFFFFF
##6942CA1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#4A6481
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6942ca;
/* rgb */ color: rgb(105, 66, 202);
/* oklch */ color: oklch(50.3% 0.199 290.6);
Tailwind
colors: {
  custom: {
    50: '#9c79db',
    500: '#6942ca',
    950: '#000000',
  },
}
SCSS
$custom: #6942ca;
$custom-light: #9c79db;
$custom-dark: #000000;
JSON
{
  "hex": "#6942ca",
  "rgb": {
    "r": 105,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 257.206,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.19882,
    "h": 290.6
  },
  "luminance": 0.11164
}

Semantic roles & 50–950 ramp

primary
#6942CA
secondary
#C0D196
accent
#DF48B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6942CA

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

Preview Lab → · Contrast checker → · Palette generator →

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