#6930B5#6930B5

#6930B5 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.196 H 297.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6930B5
RGBrgb(105, 48, 181)
HSLhsl(266, 58%, 45%)
HSVhsv(266, 73%, 71%)
CMYKcmyk(42%, 73.5%, 0%, 29%)
CIE-LABlab(34.91, 52.09, -60.69)
CIE-LCHlch(34.91, 79.97, 310.64°)
OKLaboklab(46.22% 0.091 -0.1735)
OKLCHoklch(46.22% 0.196 297.7)
XYZxyz(15.2210, 8.4531, 44.5368)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6930B5 #7CB530
analogous
#303AB5 #6930B5 #AB30B5
triadic
#6930B5 #B56930 #30B569
tetradic
#6930B5 #B5303A #7CB530 #30B5AB
square
#6930B5 #B5303A #7CB530 #30B5AB
split-complementary
#6930B5 #B5AB30 #3AB530
monochromatic
#311654 #4D2385 #6930B5 #8851D1 #A982DE

Accessibility & contrast

On white

7.80
#6930B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6930B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6930B5
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6930B5#FFFFFF#000000##FFFFFF
##6930B51.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#565270
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6930b5;
/* rgb */ color: rgb(105, 48, 181);
/* oklch */ color: oklch(46.2% 0.196 297.7);
Tailwind
colors: {
  custom: {
    50: '#9b6ecc',
    500: '#6930b5',
    950: '#000000',
  },
}
SCSS
$custom: #6930b5;
$custom-light: #9b6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#6930b5",
  "rgb": {
    "r": 105,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 265.714,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46219,
    "c": 0.19597,
    "h": 297.7
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#6930B5
secondary
#A6C77A
accent
#E1469F
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6930B5

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

Preview Lab → · Contrast checker → · Palette generator →

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