#6934B2#6934B2

#6934B2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.188 H 297.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6934B2
RGBrgb(105, 52, 178)
HSLhsl(265, 55%, 45%)
HSVhsv(265, 71%, 70%)
CMYKcmyk(41%, 70.8%, 0%, 30.2%)
CIE-LABlab(35.35, 49.40, -58.19)
CIE-LCHlch(35.35, 76.33, 310.33°)
OKLaboklab(46.45% 0.0878 -0.1662)
OKLCHoklch(46.45% 0.188 297.8)
XYZxyz(15.0875, 8.6733, 42.9901)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6934B2 #7DB234
analogous
#343EB2 #6934B2 #A834B2
triadic
#6934B2 #B26934 #34B269
tetradic
#6934B2 #B2343E #7DB234 #34B2A8
square
#6934B2 #B2343E #7DB234 #34B2A8
split-complementary
#6934B2 #B2A834 #3EB234
monochromatic
#311853 #4D2683 #6934B2 #8856CE #A985DB

Accessibility & contrast

On white

7.68
#6934B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6934B2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6934B2#FFFFFF#000000##FFFFFF
##6934B21.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6934b2;
/* rgb */ color: rgb(105, 52, 178);
/* oklch */ color: oklch(46.5% 0.188 297.8);
Tailwind
colors: {
  custom: {
    50: '#9a70ca',
    500: '#6934b2',
    950: '#000000',
  },
}
SCSS
$custom: #6934b2;
$custom-light: #9a70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6934b2",
  "rgb": {
    "r": 105,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 265.238,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46454,
    "c": 0.18799,
    "h": 297.8
  },
  "luminance": 0.08674
}

Semantic roles & 50–950 ramp

primary
#6934B2
secondary
#A7C57D
accent
#DE4AA0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6934B2

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

Preview Lab → · Contrast checker → · Palette generator →

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