#6830B7#6830B7

#6830B7 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.198 H 296.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6830B7
RGBrgb(104, 48, 183)
HSLhsl(265, 58%, 45%)
HSVhsv(265, 74%, 72%)
CMYKcmyk(43.2%, 73.8%, 0%, 28.2%)
CIE-LABlab(34.95, 52.43, -61.80)
CIE-LCHlch(34.95, 81.04, 310.31°)
OKLaboklab(46.28% 0.0891 -0.1768)
OKLCHoklch(46.28% 0.198 296.7)
XYZxyz(15.3109, 8.4755, 45.6198)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830B7 #7FB730
analogous
#303BB7 #6830B7 #AC30B7
triadic
#6830B7 #B76830 #30B768
tetradic
#6830B7 #B7303B #7FB730 #30B7AC
square
#6830B7 #B7303B #7FB730 #30B7AC
split-complementary
#6830B7 #B7AC30 #3BB730
monochromatic
#311756 #4C2387 #6830B7 #8752D2 #A983DE

Accessibility & contrast

On white

7.79
#6830B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6830B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6830B7
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830B7#FFFFFF#000000##FFFFFF
##6830B71.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#535371
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6830b7;
/* rgb */ color: rgb(104, 48, 183);
/* oklch */ color: oklch(46.3% 0.198 296.7);
Tailwind
colors: {
  custom: {
    50: '#9a6ece',
    500: '#6830b7',
    950: '#000000',
  },
}
SCSS
$custom: #6830b7;
$custom-light: #9a6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6830b7",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 264.889,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46275,
    "c": 0.19804,
    "h": 296.7
  },
  "luminance": 0.08476
}

Semantic roles & 50–950 ramp

primary
#6830B7
secondary
#A8C87B
accent
#E246A1
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6830B7

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

Preview Lab → · Contrast checker → · Palette generator →

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