#682BB3#682BB3

#682BB3 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.199 H 298.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#682BB3
RGBrgb(104, 43, 179)
HSLhsl(267, 61%, 44%)
HSVhsv(267, 76%, 70%)
CMYKcmyk(41.9%, 76%, 0%, 29.8%)
CIE-LABlab(33.83, 53.66, -61.27)
CIE-LCHlch(33.83, 81.45, 311.21°)
OKLaboklab(45.38% 0.0945 -0.1753)
OKLCHoklch(45.38% 0.199 298.3)
XYZxyz(14.7074, 7.9253, 43.3939)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682BB3 #76B32B
analogous
#2B32B3 #682BB3 #AC2BB3
triadic
#682BB3 #B3682B #2BB368
tetradic
#682BB3 #B32B32 #76B32B #2BB3AC
square
#682BB3 #B32B32 #76B32B #2BB3AC
split-complementary
#682BB3 #B3AC2B #32B32B
monochromatic
#2F1350 #4B1F82 #682BB3 #8648D3 #A779DF

Accessibility & contrast

On white

8.12
#682BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#682BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682BB3
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682BB3#FFFFFF#000000##FFFFFF
##682BB31.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#554F6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #682bb3;
/* rgb */ color: rgb(104, 43, 179);
/* oklch */ color: oklch(45.4% 0.199 298.3);
Tailwind
colors: {
  custom: {
    50: '#9a6bcb',
    500: '#682bb3',
    950: '#000000',
  },
}
SCSS
$custom: #682bb3;
$custom-light: #9a6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#682bb3",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 266.912,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45378,
    "c": 0.19911,
    "h": 298.3
  },
  "luminance": 0.07925
}

Semantic roles & 50–950 ramp

primary
#682BB3
secondary
#A1C773
accent
#E4439C
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #682BB3

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

Preview Lab → · Contrast checker → · Palette generator →

#682BB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva