#6930B6#6930B6

#6930B6 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.197 H 297.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#6930B6
RGBrgb(105, 48, 182)
HSLhsl(266, 58%, 45%)
HSVhsv(266, 74%, 71%)
CMYKcmyk(42.3%, 73.6%, 0%, 28.6%)
CIE-LABlab(34.99, 52.34, -61.15)
CIE-LCHlch(34.99, 80.49, 310.56°)
OKLaboklab(46.3% 0.0908 -0.1749)
OKLCHoklch(46.3% 0.197 297.4)
XYZxyz(15.3240, 8.4943, 45.0791)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6930B6 #7DB630
analogous
#303AB6 #6930B6 #AC30B6
triadic
#6930B6 #B66930 #30B669
tetradic
#6930B6 #B6303A #7DB630 #30B6AC
square
#6930B6 #B6303A #7DB630 #30B6AC
split-complementary
#6930B6 #B6AC30 #3AB630
monochromatic
#311655 #4D2386 #6930B6 #8852D1 #A982DE

Accessibility & contrast

On white

7.78
#6930B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6930B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6930B6
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6930B6#FFFFFF#000000##FFFFFF
##6930B61.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#555370
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6930b6;
/* rgb */ color: rgb(105, 48, 182);
/* oklch */ color: oklch(46.3% 0.197 297.4);
Tailwind
colors: {
  custom: {
    50: '#9b6ecd',
    500: '#6930b6',
    950: '#000000',
  },
}
SCSS
$custom: #6930b6;
$custom-light: #9b6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#6930b6",
  "rgb": {
    "r": 105,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 265.522,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46303,
    "c": 0.19706,
    "h": 297.4
  },
  "luminance": 0.08495
}

Semantic roles & 50–950 ramp

primary
#6930B6
secondary
#A7C77B
accent
#E1469F
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6930B6

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

Preview Lab → · Contrast checker → · Palette generator →

#6930B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva