#6942CC#6942CC

#6942CC is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.4% C 0.201 H 290.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6942CC
RGBrgb(105, 66, 204)
HSLhsl(257, 58%, 53%)
HSVhsv(257, 68%, 80%)
CMYKcmyk(48.5%, 67.6%, 0%, 20%)
CIE-LABlab(40.01, 49.22, -65.84)
CIE-LCHlch(40.01, 82.20, 306.78°)
OKLaboklab(50.43% 0.0697 -0.1887)
OKLCHoklch(50.43% 0.201 290.3)
XYZxyz(18.6699, 11.2586, 58.3044)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6942CC #A5CC42
analogous
#4260CC #6942CC #AE42CC
triadic
#6942CC #CC6942 #42CC69
tetradic
#6942CC #CC4260 #A5CC42 #42CCAE
square
#6942CC #CC4260 #A5CC42 #42CCAE
split-complementary
#6942CC #CCAE42 #60CC42
monochromatic
#371F74 #4E2CA4 #6942CC #8F72D9 #B5A2E6

Accessibility & contrast

On white

6.46
#6942CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6942CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6942CC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6942CC#FFFFFF#000000##FFFFFF
##6942CC1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#486482
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6942cc;
/* rgb */ color: rgb(105, 66, 204);
/* oklch */ color: oklch(50.4% 0.201 290.3);
Tailwind
colors: {
  custom: {
    50: '#9c79dd',
    500: '#6942cc',
    950: '#000000',
  },
}
SCSS
$custom: #6942cc;
$custom-light: #9c79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6942cc",
  "rgb": {
    "r": 105,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 256.957,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5043,
    "c": 0.2012,
    "h": 290.3
  },
  "luminance": 0.11259
}

Semantic roles & 50–950 ramp

primary
#6942CC
secondary
#C2D397
accent
#E147B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6942CC

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

Preview Lab → · Contrast checker → · Palette generator →

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