#6942BC#6942BC

#6942BC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.2% C 0.182 H 293.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#6942BC
RGBrgb(105, 66, 188)
HSLhsl(259, 48%, 50%)
HSVhsv(259, 65%, 74%)
CMYKcmyk(44.1%, 64.9%, 0%, 26.3%)
CIE-LABlab(38.78, 44.76, -58.52)
CIE-LCHlch(38.78, 73.68, 307.41°)
OKLaboklab(49.16% 0.0718 -0.1672)
OKLCHoklch(49.16% 0.182 293.2)
XYZxyz(16.8485, 10.5300, 48.7120)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6942BC #95BC42
analogous
#4258BC #6942BC #A642BC
triadic
#6942BC #BC6942 #42BC69
tetradic
#6942BC #BC4258 #95BC42 #42BCA6
square
#6942BC #BC4258 #95BC42 #42BCA6
split-complementary
#6942BC #BCA642 #58BC42
monochromatic
#362261 #50328F #6942BC #8D6FCC #B19CDC

Accessibility & contrast

On white

6.76
#6942BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6942BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6942BC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6942BC#FFFFFF#000000##FFFFFF
##6942BC1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#515F79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6942bc;
/* rgb */ color: rgb(105, 66, 188);
/* oklch */ color: oklch(49.2% 0.182 293.2);
Tailwind
colors: {
  custom: {
    50: '#9a79d1',
    500: '#6942bc',
    950: '#000000',
  },
}
SCSS
$custom: #6942bc;
$custom-light: #9a79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6942bc",
  "rgb": {
    "r": 105,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 259.18,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49155,
    "c": 0.18201,
    "h": 293.2
  },
  "luminance": 0.10531
}

Semantic roles & 50–950 ramp

primary
#6942BC
secondary
#B7C991
accent
#D850AC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6942BC

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

Preview Lab → · Contrast checker → · Palette generator →

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