#6938B5#6938B5

#6938B5 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.187 H 296.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#6938B5
RGBrgb(105, 56, 181)
HSLhsl(264, 53%, 46%)
HSVhsv(264, 69%, 71%)
CMYKcmyk(42%, 69.1%, 0%, 29%)
CIE-LABlab(36.30, 48.18, -58.41)
CIE-LCHlch(36.30, 75.72, 309.51°)
OKLaboklab(47.21% 0.0832 -0.1669)
OKLCHoklch(47.21% 0.187 296.5)
XYZxyz(15.5782, 9.1675, 44.6558)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6938B5 #84B538
analogous
#3846B5 #6938B5 #A838B5
triadic
#6938B5 #B56938 #38B569
tetradic
#6938B5 #B53846 #84B538 #38B5A8
square
#6938B5 #B53846 #84B538 #38B5A8
split-complementary
#6938B5 #B5A838 #46B538
monochromatic
#331B58 #4E2A86 #6938B5 #895DCD #AB8CDB

Accessibility & contrast

On white

7.41
#6938B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6938B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6938B5
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6938B5#FFFFFF#000000##FFFFFF
##6938B51.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#555672
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6938b5;
/* rgb */ color: rgb(105, 56, 181);
/* oklch */ color: oklch(47.2% 0.187 296.5);
Tailwind
colors: {
  custom: {
    50: '#9a72cc',
    500: '#6938b5',
    950: '#000000',
  },
}
SCSS
$custom: #6938b5;
$custom-light: #9a72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6938b5",
  "rgb": {
    "r": 105,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 263.52,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4721,
    "c": 0.18651,
    "h": 296.5
  },
  "luminance": 0.09168
}

Semantic roles & 50–950 ramp

primary
#6938B5
secondary
#ACC683
accent
#DC4CA4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6938B5

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

Preview Lab → · Contrast checker → · Palette generator →

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