#6934B1#6934B1

#6934B1 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.187 H 298.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#6934B1
RGBrgb(105, 52, 177)
HSLhsl(265, 55%, 45%)
HSVhsv(265, 71%, 69%)
CMYKcmyk(40.7%, 70.6%, 0%, 30.6%)
CIE-LABlab(35.27, 49.14, -57.73)
CIE-LCHlch(35.27, 75.81, 310.41°)
OKLaboklab(46.37% 0.088 -0.1649)
OKLCHoklch(46.37% 0.187 298.1)
XYZxyz(14.9875, 8.6333, 42.4632)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6934B1 #7CB134
analogous
#343EB1 #6934B1 #A734B1
triadic
#6934B1 #B16934 #34B169
tetradic
#6934B1 #B1343E #7CB134 #34B1A7
square
#6934B1 #B1343E #7CB134 #34B1A7
split-complementary
#6934B1 #B1A734 #3EB134
monochromatic
#311852 #4D2682 #6934B1 #8855CD #A984DB

Accessibility & contrast

On white

7.70
#6934B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6934B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6934B1
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6934B1#FFFFFF#000000##FFFFFF
##6934B11.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#57536F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6934b1;
/* rgb */ color: rgb(105, 52, 177);
/* oklch */ color: oklch(46.4% 0.187 298.1);
Tailwind
colors: {
  custom: {
    50: '#9a70c9',
    500: '#6934b1',
    950: '#000000',
  },
}
SCSS
$custom: #6934b1;
$custom-light: #9a70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6934b1",
  "rgb": {
    "r": 105,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 265.44,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46373,
    "c": 0.18687,
    "h": 298.1
  },
  "luminance": 0.08634
}

Semantic roles & 50–950 ramp

primary
#6934B1
secondary
#A6C57C
accent
#DE4A9F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6934B1

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

Preview Lab → · Contrast checker → · Palette generator →

#6934B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva