#6931B8#6931B8

#6931B8 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.198 H 296.8°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#6931B8
RGBrgb(105, 49, 184)
HSLhsl(265, 58%, 46%)
HSVhsv(265, 73%, 72%)
CMYKcmyk(42.9%, 73.4%, 0%, 27.8%)
CIE-LABlab(35.32, 52.39, -61.79)
CIE-LCHlch(35.32, 81.01, 310.29°)
OKLaboklab(46.59% 0.0895 -0.1768)
OKLCHoklch(46.59% 0.198 296.8)
XYZxyz(15.5735, 8.6603, 46.1892)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6931B8 #80B831
analogous
#313CB8 #6931B8 #AC31B8
triadic
#6931B8 #B86931 #31B869
tetradic
#6931B8 #B8313C #80B831 #31B8AC
square
#6931B8 #B8313C #80B831 #31B8AC
split-complementary
#6931B8 #B8AC31 #3CB831
monochromatic
#321757 #4D2488 #6931B8 #8855D2 #AA85DE

Accessibility & contrast

On white

7.69
#6931B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6931B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6931B8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6931B8#FFFFFF#000000##FFFFFF
##6931B81.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#545472
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6931b8;
/* rgb */ color: rgb(105, 49, 184);
/* oklch */ color: oklch(46.6% 0.198 296.8);
Tailwind
colors: {
  custom: {
    50: '#9b6ece',
    500: '#6931b8',
    950: '#000000',
  },
}
SCSS
$custom: #6931b8;
$custom-light: #9b6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6931b8",
  "rgb": {
    "r": 105,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 264.889,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46587,
    "c": 0.19813,
    "h": 296.8
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#6931B8
secondary
#A9C87D
accent
#E147A1
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6931B8

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

Preview Lab → · Contrast checker → · Palette generator →

#6931B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva