#6937D9#6937D9

#6937D9 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.2% C 0.228 H 289.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#6937D9
RGBrgb(105, 55, 217)
HSLhsl(259, 68%, 53%)
HSVhsv(259, 75%, 85%)
CMYKcmyk(51.6%, 74.7%, 0%, 14.9%)
CIE-LABlab(39.15, 58.26, -74.75)
CIE-LCHlch(39.15, 94.77, 307.93°)
OKLaboklab(50.15% 0.0765 -0.2148)
OKLCHoklch(50.15% 0.228 289.6)
XYZxyz(19.7126, 10.7445, 66.6674)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937D9 #A7D937
analogous
#3756D9 #6937D9 #BA37D9
triadic
#6937D9 #D96937 #37D969
tetradic
#6937D9 #D93756 #A7D937 #37D9BA
square
#6937D9 #D93756 #A7D937 #37D9BA
split-complementary
#6937D9 #D9BA37 #56D937
monochromatic
#37187E #4E22B1 #6937D9 #906AE3 #B69EED

Accessibility & contrast

On white

6.67
#6937D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6937D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6937D9
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937D9#FFFFFF#000000##FFFFFF
##6937D91.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDE
Deuteranopia (green-blind)
#0058D6
Tritanopia (blue-blind)
#3F6486
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6937d9;
/* rgb */ color: rgb(105, 55, 217);
/* oklch */ color: oklch(50.2% 0.228 289.6);
Tailwind
colors: {
  custom: {
    50: '#9f73e6',
    500: '#6937d9',
    950: '#000000',
  },
}
SCSS
$custom: #6937d9;
$custom-light: #9f73e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6937d9",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 217
  },
  "hsl": {
    "h": 258.519,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50153,
    "c": 0.22804,
    "h": 289.6
  },
  "luminance": 0.10745
}

Semantic roles & 50–950 ramp

primary
#6937D9
secondary
#C3D993
accent
#EB3DB5
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #6937D9

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

Preview Lab → · Contrast checker → · Palette generator →

#6937D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva