#6942CB#6942CB

#6942CB is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.3% C 0.200 H 290.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6942CB
RGBrgb(105, 66, 203)
HSLhsl(257, 57%, 53%)
HSVhsv(257, 67%, 80%)
CMYKcmyk(48.3%, 67.5%, 0%, 20.4%)
CIE-LABlab(39.93, 48.94, -65.39)
CIE-LCHlch(39.93, 81.67, 306.81°)
OKLaboklab(50.35% 0.0699 -0.1874)
OKLCHoklch(50.35% 0.2 290.4)
XYZxyz(18.5503, 11.2108, 57.6748)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6942CB #A4CB42
analogous
#4260CB #6942CB #AD42CB
triadic
#6942CB #CB6942 #42CB69
tetradic
#6942CB #CB4260 #A4CB42 #42CBAD
square
#6942CB #CB4260 #A4CB42 #42CBAD
split-complementary
#6942CB #CBAD42 #60CB42
monochromatic
#372073 #4E2DA3 #6942CB #8F72D8 #B5A2E5

Accessibility & contrast

On white

6.48
#6942CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6942CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6942CB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6942CB#FFFFFF#000000##FFFFFF
##6942CB1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#496481
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6942cb;
/* rgb */ color: rgb(105, 66, 203);
/* oklch */ color: oklch(50.3% 0.200 290.4);
Tailwind
colors: {
  custom: {
    50: '#9c79dc',
    500: '#6942cb',
    950: '#000000',
  },
}
SCSS
$custom: #6942cb;
$custom-light: #9c79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6942cb",
  "rgb": {
    "r": 105,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 257.08,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50348,
    "c": 0.20002,
    "h": 290.4
  },
  "luminance": 0.11211
}

Semantic roles & 50–950 ramp

primary
#6942CB
secondary
#C1D297
accent
#E048B5
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6942CB

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

Preview Lab → · Contrast checker → · Palette generator →

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