#6942DE#6942DE

#6942DE is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.9% C 0.222 H 287.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6942DE
RGBrgb(105, 66, 222)
HSLhsl(255, 70%, 56%)
HSVhsv(255, 70%, 87%)
CMYKcmyk(52.7%, 70.3%, 0%, 12.9%)
CIE-LABlab(41.49, 54.26, -73.77)
CIE-LCHlch(41.49, 91.58, 306.33°)
OKLaboklab(51.94% 0.0666 -0.212)
OKLCHoklch(51.94% 0.222 287.4)
XYZxyz(20.9548, 12.1726, 70.3385)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6942DE #B7DE42
analogous
#4269DE #6942DE #B742DE
triadic
#6942DE #DE6942 #42DE69
tetradic
#6942DE #DE4269 #B7DE42 #42DEB7
square
#6942DE #DE4269 #B7DE42 #42DEB7
split-complementary
#6942DE #DEB742 #69DE42
monochromatic
#36198D #4A22C1 #6942DE #9276E7 #BCAAF0

Accessibility & contrast

On white

6.11
#6942DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6942DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6942DE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6942DE#FFFFFF#000000##FFFFFF
##6942DE1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E3
Deuteranopia (green-blind)
#005EDB
Tritanopia (blue-blind)
#3A6B8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6942de;
/* rgb */ color: rgb(105, 66, 222);
/* oklch */ color: oklch(51.9% 0.222 287.4);
Tailwind
colors: {
  custom: {
    50: '#9f7ae9',
    500: '#6942de',
    950: '#000000',
  },
}
SCSS
$custom: #6942de;
$custom-light: #9f7ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#6942de",
  "rgb": {
    "r": 105,
    "g": 66,
    "b": 222
  },
  "hsl": {
    "h": 255,
    "s": 70.27,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51941,
    "c": 0.22225,
    "h": 287.4
  },
  "luminance": 0.12174
}

Semantic roles & 50–950 ramp

primary
#6942DE
secondary
#CEDE9E
accent
#ED3BC0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6942DE

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

Preview Lab → · Contrast checker → · Palette generator →

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