#6930B4#6930B4

#6930B4 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.195 H 297.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#6930B4
RGBrgb(105, 48, 180)
HSLhsl(266, 58%, 45%)
HSVhsv(266, 73%, 71%)
CMYKcmyk(41.7%, 73.3%, 0%, 29.4%)
CIE-LABlab(34.83, 51.83, -60.23)
CIE-LCHlch(34.83, 79.46, 310.71°)
OKLaboklab(46.14% 0.0913 -0.1722)
OKLCHoklch(46.14% 0.195 297.9)
XYZxyz(15.1187, 8.4122, 43.9983)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6930B4 #7BB430
analogous
#3039B4 #6930B4 #AB30B4
triadic
#6930B4 #B46930 #30B469
tetradic
#6930B4 #B43039 #7BB430 #30B4AB
square
#6930B4 #B43039 #7BB430 #30B4AB
split-complementary
#6930B4 #B4AB30 #39B430
monochromatic
#311653 #4D2384 #6930B4 #8851D1 #A981DD

Accessibility & contrast

On white

7.83
#6930B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6930B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6930B4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6930B4#FFFFFF#000000##FFFFFF
##6930B41.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#56526F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6930b4;
/* rgb */ color: rgb(105, 48, 180);
/* oklch */ color: oklch(46.1% 0.195 297.9);
Tailwind
colors: {
  custom: {
    50: '#9b6ecb',
    500: '#6930b4',
    950: '#000000',
  },
}
SCSS
$custom: #6930b4;
$custom-light: #9b6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6930b4",
  "rgb": {
    "r": 105,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 265.909,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46135,
    "c": 0.19487,
    "h": 297.9
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#6930B4
secondary
#A5C679
accent
#E1479E
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6930B4

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

Preview Lab → · Contrast checker → · Palette generator →

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