#682BB7#682BB7

#682BB7 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.7% C 0.203 H 297.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#682BB7
RGBrgb(104, 43, 183)
HSLhsl(266, 62%, 44%)
HSVhsv(266, 77%, 72%)
CMYKcmyk(43.2%, 76.5%, 0%, 28.2%)
CIE-LABlab(34.17, 54.66, -63.09)
CIE-LCHlch(34.17, 83.48, 310.91°)
OKLaboklab(45.72% 0.0935 -0.1806)
OKLCHoklch(45.72% 0.203 297.4)
XYZxyz(15.1178, 8.0894, 45.5555)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682BB7 #7AB72B
analogous
#2B34B7 #682BB7 #AE2BB7
triadic
#682BB7 #B7682B #2BB768
tetradic
#682BB7 #B72B34 #7AB72B #2BB7AE
square
#682BB7 #B72B34 #7AB72B #2BB7AE
split-complementary
#682BB7 #B7AE2B #34B72B
monochromatic
#301454 #4C1F85 #682BB7 #874BD5 #A87CE0

Accessibility & contrast

On white

8.02
#682BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#682BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682BB7
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682BB7#FFFFFF#000000##FFFFFF
##682BB71.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#535170
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #682bb7;
/* rgb */ color: rgb(104, 43, 183);
/* oklch */ color: oklch(45.7% 0.203 297.4);
Tailwind
colors: {
  custom: {
    50: '#9b6bce',
    500: '#682bb7',
    950: '#000000',
  },
}
SCSS
$custom: #682bb7;
$custom-light: #9b6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#682bb7",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 266.143,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45723,
    "c": 0.20335,
    "h": 297.4
  },
  "luminance": 0.0809
}

Semantic roles & 50–950 ramp

primary
#682BB7
secondary
#A4C975
accent
#E5439E
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #682BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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