#6938C4#6938C4

#6938C4 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.4% C 0.204 H 293.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#6938C4
RGBrgb(105, 56, 196)
HSLhsl(261, 56%, 49%)
HSVhsv(261, 71%, 77%)
CMYKcmyk(46.4%, 71.4%, 0%, 23.1%)
CIE-LABlab(37.51, 52.17, -65.27)
CIE-LCHlch(37.51, 83.55, 308.64°)
OKLaboklab(48.45% 0.0805 -0.187)
OKLCHoklch(48.45% 0.204 293.3)
XYZxyz(17.2009, 9.8166, 53.2023)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6938C4 #93C438
analogous
#384DC4 #6938C4 #AF38C4
triadic
#6938C4 #C46938 #38C469
tetradic
#6938C4 #C4384D #93C438 #38C4AF
square
#6938C4 #C4384D #93C438 #38C4AF
split-complementary
#6938C4 #C4AF38 #4DC438
monochromatic
#361D65 #502A94 #6938C4 #8C66D3 #B096E1

Accessibility & contrast

On white

7.09
#6938C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6938C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6938C4
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6938C4#FFFFFF#000000##FFFFFF
##6938C41.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#4E5C7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6938c4;
/* rgb */ color: rgb(105, 56, 196);
/* oklch */ color: oklch(48.4% 0.204 293.3);
Tailwind
colors: {
  custom: {
    50: '#9c73d7',
    500: '#6938c4',
    950: '#000000',
  },
}
SCSS
$custom: #6938c4;
$custom-light: #9c73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6938c4",
  "rgb": {
    "r": 105,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 261,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48445,
    "c": 0.20361,
    "h": 293.3
  },
  "luminance": 0.09817
}

Semantic roles & 50–950 ramp

primary
#6938C4
secondary
#B6CC8C
accent
#DF49AA
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6938C4

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

Preview Lab → · Contrast checker → · Palette generator →

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