#6830B9#6830B9

#6830B9 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.200 H 296.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6830B9
RGBrgb(104, 48, 185)
HSLhsl(265, 59%, 46%)
HSVhsv(265, 74%, 73%)
CMYKcmyk(43.8%, 74.1%, 0%, 27.5%)
CIE-LABlab(35.12, 52.94, -62.71)
CIE-LCHlch(35.12, 82.07, 310.17°)
OKLaboklab(46.45% 0.0887 -0.1795)
OKLCHoklch(46.45% 0.2 296.3)
XYZxyz(15.5205, 8.5594, 46.7239)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830B9 #81B930
analogous
#303CB9 #6830B9 #AC30B9
triadic
#6830B9 #B96830 #30B968
tetradic
#6830B9 #B9303C #81B930 #30B9AC
square
#6830B9 #B9303C #81B930 #30B9AC
split-complementary
#6830B9 #B9AC30 #3CB930
monochromatic
#311758 #4D2388 #6830B9 #8854D3 #A984DF

Accessibility & contrast

On white

7.74
#6830B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6830B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6830B9
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830B9#FFFFFF#000000##FFFFFF
##6830B91.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#525472
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6830b9;
/* rgb */ color: rgb(104, 48, 185);
/* oklch */ color: oklch(46.4% 0.200 296.3);
Tailwind
colors: {
  custom: {
    50: '#9a6ecf',
    500: '#6830b9',
    950: '#000000',
  },
}
SCSS
$custom: #6830b9;
$custom-light: #9a6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#6830b9",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 264.526,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46445,
    "c": 0.20022,
    "h": 296.3
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#6830B9
secondary
#A9C97C
accent
#E246A2
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6830B9

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

Preview Lab → · Contrast checker → · Palette generator →

#6830B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva