#6930B2#6930B2

#6930B2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.193 H 298.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6930B2
RGBrgb(105, 48, 178)
HSLhsl(266, 58%, 44%)
HSVhsv(266, 73%, 70%)
CMYKcmyk(41%, 73%, 0%, 30.2%)
CIE-LABlab(34.66, 51.32, -59.31)
CIE-LCHlch(34.66, 78.43, 310.87°)
OKLaboklab(45.97% 0.0917 -0.1695)
OKLCHoklch(45.97% 0.193 298.4)
XYZxyz(14.9165, 8.3313, 42.9331)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6930B2 #79B230
analogous
#3038B2 #6930B2 #AA30B2
triadic
#6930B2 #B26930 #30B269
tetradic
#6930B2 #B23038 #79B230 #30B2AA
square
#6930B2 #B23038 #79B230 #30B2AA
split-complementary
#6930B2 #B2AA30 #38B230
monochromatic
#301652 #4D2382 #6930B2 #8850D0 #A880DD

Accessibility & contrast

On white

7.88
#6930B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6930B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6930B2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6930B2#FFFFFF#000000##FFFFFF
##6930B21.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#57516E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6930b2;
/* rgb */ color: rgb(105, 48, 178);
/* oklch */ color: oklch(46.0% 0.193 298.4);
Tailwind
colors: {
  custom: {
    50: '#9a6eca',
    500: '#6930b2',
    950: '#000000',
  },
}
SCSS
$custom: #6930b2;
$custom-light: #9a6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6930b2",
  "rgb": {
    "r": 105,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 266.308,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45969,
    "c": 0.1927,
    "h": 298.4
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#6930B2
secondary
#A4C678
accent
#E1479D
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6930B2

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

Preview Lab → · Contrast checker → · Palette generator →

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