#6939CA#6939CA

#6939CA is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.1% C 0.209 H 292.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#6939CA
RGBrgb(105, 57, 202)
HSLhsl(260, 58%, 51%)
HSVhsv(260, 72%, 79%)
CMYKcmyk(48%, 71.8%, 0%, 20.8%)
CIE-LABlab(38.19, 53.28, -67.66)
CIE-LCHlch(38.19, 86.12, 308.22°)
OKLaboklab(49.08% 0.0784 -0.194)
OKLCHoklch(49.08% 0.209 292)
XYZxyz(17.9465, 10.1931, 56.8875)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6939CA #9ACA39
analogous
#3951CA #6939CA #B139CA
triadic
#6939CA #CA6939 #39CA69
tetradic
#6939CA #CA3951 #9ACA39 #39CAB1
square
#6939CA #CA3951 #9ACA39 #39CAB1
split-complementary
#6939CA #CAB139 #51CA39
monochromatic
#371D6C #502A9C #6939CA #8E69D7 #B29AE4

Accessibility & contrast

On white

6.91
#6939CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6939CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6939CA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6939CA#FFFFFF#000000##FFFFFF
##6939CA1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#4A5F7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6939ca;
/* rgb */ color: rgb(105, 57, 202);
/* oklch */ color: oklch(49.1% 0.209 292.0);
Tailwind
colors: {
  custom: {
    50: '#9d74db',
    500: '#6939ca',
    950: '#000000',
  },
}
SCSS
$custom: #6939ca;
$custom-light: #9d74db;
$custom-dark: #000000;
JSON
{
  "hex": "#6939ca",
  "rgb": {
    "r": 105,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 259.862,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49078,
    "c": 0.20927,
    "h": 292
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#6939CA
secondary
#BAD08F
accent
#E147AE
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6939CA

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

Preview Lab → · Contrast checker → · Palette generator →

#6939CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva