#6942CF#6942CF

#6942CF is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.7% C 0.205 H 289.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6942CF
RGBrgb(105, 66, 207)
HSLhsl(257, 59%, 54%)
HSVhsv(257, 68%, 81%)
CMYKcmyk(49.3%, 68.1%, 0%, 18.8%)
CIE-LABlab(40.25, 50.06, -67.18)
CIE-LCHlch(40.25, 83.78, 306.69°)
OKLaboklab(50.68% 0.0692 -0.1927)
OKLCHoklch(50.68% 0.205 289.8)
XYZxyz(19.0332, 11.4039, 60.2177)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6942CF #A8CF42
analogous
#4261CF #6942CF #B042CF
triadic
#6942CF #CF6942 #42CF69
tetradic
#6942CF #CF4261 #A8CF42 #42CFB0
square
#6942CF #CF4261 #A8CF42 #42CFB0
split-complementary
#6942CF #CFB042 #61CF42
monochromatic
#371F78 #4E2BA9 #6942CF #9073DB #B6A4E8

Accessibility & contrast

On white

6.40
#6942CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6942CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6942CF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6942CF#FFFFFF#000000##FFFFFF
##6942CF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#466683
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6942cf;
/* rgb */ color: rgb(105, 66, 207);
/* oklch */ color: oklch(50.7% 0.205 289.8);
Tailwind
colors: {
  custom: {
    50: '#9d79df',
    500: '#6942cf',
    950: '#000000',
  },
}
SCSS
$custom: #6942cf;
$custom-light: #9d79df;
$custom-dark: #000000;
JSON
{
  "hex": "#6942cf",
  "rgb": {
    "r": 105,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 256.596,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50677,
    "c": 0.20475,
    "h": 289.8
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

primary
#6942CF
secondary
#C4D598
accent
#E345B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6942CF

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

Preview Lab → · Contrast checker → · Palette generator →

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