#6938C3#6938C3

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

Color values

HEX#6938C3
RGBrgb(105, 56, 195)
HSLhsl(261, 55%, 49%)
HSVhsv(261, 71%, 76%)
CMYKcmyk(46.2%, 71.3%, 0%, 23.5%)
CIE-LABlab(37.43, 51.90, -64.82)
CIE-LCHlch(37.43, 83.03, 308.68°)
OKLaboklab(48.36% 0.0807 -0.1857)
OKLCHoklch(48.36% 0.202 293.5)
XYZxyz(17.0875, 9.7712, 52.6049)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6938C3 #92C338
analogous
#384DC3 #6938C3 #AF38C3
triadic
#6938C3 #C36938 #38C369
tetradic
#6938C3 #C3384D #92C338 #38C3AF
square
#6938C3 #C3384D #92C338 #38C3AF
split-complementary
#6938C3 #C3AF38 #4DC338
monochromatic
#361D64 #4F2A93 #6938C3 #8C65D3 #B095E1

Accessibility & contrast

On white

7.11
#6938C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6938C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6938C3
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6938C3#FFFFFF#000000##FFFFFF
##6938C31.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6938c3;
/* rgb */ color: rgb(105, 56, 195);
/* oklch */ color: oklch(48.4% 0.202 293.5);
Tailwind
colors: {
  custom: {
    50: '#9c73d6',
    500: '#6938c3',
    950: '#000000',
  },
}
SCSS
$custom: #6938c3;
$custom-light: #9c73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6938c3",
  "rgb": {
    "r": 105,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 261.151,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.4836,
    "c": 0.20248,
    "h": 293.5
  },
  "luminance": 0.09772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6938C3

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

Preview Lab → · Contrast checker → · Palette generator →

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