#6938DA#6938DA

#6938DA is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.4% C 0.228 H 289.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#6938DA
RGBrgb(105, 56, 218)
HSLhsl(258, 69%, 54%)
HSVhsv(258, 74%, 85%)
CMYKcmyk(51.8%, 74.3%, 0%, 14.5%)
CIE-LABlab(39.40, 58.07, -74.91)
CIE-LCHlch(39.40, 94.78, 307.78°)
OKLaboklab(50.36% 0.0755 -0.2153)
OKLCHoklch(50.36% 0.228 289.3)
XYZxyz(19.8911, 10.8926, 67.3705)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6938DA #A9DA38
analogous
#3858DA #6938DA #BA38DA
triadic
#6938DA #DA6938 #38DA69
tetradic
#6938DA #DA3858 #A9DA38 #38DABA
square
#6938DA #DA3858 #A9DA38 #38DABA
split-complementary
#6938DA #DABA38 #58DA38
monochromatic
#371880 #4E21B3 #6938DA #906CE4 #B79FED

Accessibility & contrast

On white

6.61
#6938DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6938DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6938DA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6938DA#FFFFFF#000000##FFFFFF
##6938DA1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DF
Deuteranopia (green-blind)
#0059D7
Tritanopia (blue-blind)
#3F6587
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6938da;
/* rgb */ color: rgb(105, 56, 218);
/* oklch */ color: oklch(50.4% 0.228 289.3);
Tailwind
colors: {
  custom: {
    50: '#9f74e7',
    500: '#6938da',
    950: '#000000',
  },
}
SCSS
$custom: #6938da;
$custom-light: #9f74e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6938da",
  "rgb": {
    "r": 105,
    "g": 56,
    "b": 218
  },
  "hsl": {
    "h": 258.148,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50357,
    "c": 0.22815,
    "h": 289.3
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#6938DA
secondary
#C5DA94
accent
#EB3CB7
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #6938DA

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

Preview Lab → · Contrast checker → · Palette generator →

#6938DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva