#6942D2#6942D2

#6942D2 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 50.9% C 0.208 H 289.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6942D2
RGBrgb(105, 66, 210)
HSLhsl(256, 62%, 54%)
HSVhsv(256, 69%, 82%)
CMYKcmyk(50%, 68.6%, 0%, 17.6%)
CIE-LABlab(40.49, 50.90, -68.51)
CIE-LCHlch(40.49, 85.35, 306.61°)
OKLaboklab(50.93% 0.0688 -0.1966)
OKLCHoklch(50.93% 0.208 289.3)
XYZxyz(19.4034, 11.5520, 62.1676)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6942D2 #ABD242
analogous
#4263D2 #6942D2 #B142D2
triadic
#6942D2 #D26942 #42D269
tetradic
#6942D2 #D24263 #ABD242 #42D2B1
square
#6942D2 #D24263 #ABD242 #42D2B1
split-complementary
#6942D2 #D2B142 #63D242
monochromatic
#371E7C #4D29AD #6942D2 #9073DE #B7A5EA

Accessibility & contrast

On white

6.34
#6942D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6942D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6942D2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6942D2#FFFFFF#000000##FFFFFF
##6942D21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#446785
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6942d2;
/* rgb */ color: rgb(105, 66, 210);
/* oklch */ color: oklch(50.9% 0.208 289.3);
Tailwind
colors: {
  custom: {
    50: '#9d79e1',
    500: '#6942d2',
    950: '#000000',
  },
}
SCSS
$custom: #6942d2;
$custom-light: #9d79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6942d2",
  "rgb": {
    "r": 105,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 256.25,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50925,
    "c": 0.20828,
    "h": 289.3
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#6942D2
secondary
#C6D799
accent
#E543B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6942D2

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

Preview Lab → · Contrast checker → · Palette generator →

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