#6830B8#6830B8

#6830B8 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.199 H 296.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#6830B8
RGBrgb(104, 48, 184)
HSLhsl(265, 59%, 45%)
HSVhsv(265, 74%, 72%)
CMYKcmyk(43.5%, 73.9%, 0%, 27.8%)
CIE-LABlab(35.04, 52.68, -62.26)
CIE-LCHlch(35.04, 81.56, 310.24°)
OKLaboklab(46.36% 0.0889 -0.1782)
OKLCHoklch(46.36% 0.199 296.5)
XYZxyz(15.4153, 8.5173, 46.1699)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830B8 #80B830
analogous
#303CB8 #6830B8 #AC30B8
triadic
#6830B8 #B86830 #30B868
tetradic
#6830B8 #B8303C #80B830 #30B8AC
square
#6830B8 #B8303C #80B830 #30B8AC
split-complementary
#6830B8 #B8AC30 #3CB830
monochromatic
#311757 #4D2387 #6830B8 #8753D2 #A984DF

Accessibility & contrast

On white

7.77
#6830B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6830B8
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830B8#FFFFFF#000000##FFFFFF
##6830B81.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#535372
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6830b8;
/* rgb */ color: rgb(104, 48, 184);
/* oklch */ color: oklch(46.4% 0.199 296.5);
Tailwind
colors: {
  custom: {
    50: '#9a6ece',
    500: '#6830b8',
    950: '#000000',
  },
}
SCSS
$custom: #6830b8;
$custom-light: #9a6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6830b8",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 264.706,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4636,
    "c": 0.19913,
    "h": 296.5
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6830B8

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

Preview Lab → · Contrast checker → · Palette generator →

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