#682BB4#682BB4

#682BB4 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.5% C 0.200 H 298.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#682BB4
RGBrgb(104, 43, 180)
HSLhsl(267, 61%, 44%)
HSVhsv(267, 76%, 71%)
CMYKcmyk(42.2%, 76.1%, 0%, 29.4%)
CIE-LABlab(33.91, 53.91, -61.73)
CIE-LCHlch(33.91, 81.96, 311.13°)
OKLaboklab(45.46% 0.0943 -0.1766)
OKLCHoklch(45.46% 0.2 298.1)
XYZxyz(14.8089, 7.9659, 43.9285)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682BB4 #77B42B
analogous
#2B33B4 #682BB4 #AC2BB4
triadic
#682BB4 #B4682B #2BB468
tetradic
#682BB4 #B42B33 #77B42B #2BB4AC
square
#682BB4 #B42B33 #77B42B #2BB4AC
split-complementary
#682BB4 #B4AC2B #33B42B
monochromatic
#2F1351 #4B1F83 #682BB4 #8749D3 #A77ADF

Accessibility & contrast

On white

8.10
#682BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682BB4
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682BB4#FFFFFF#000000##FFFFFF
##682BB41.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#554F6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #682bb4;
/* rgb */ color: rgb(104, 43, 180);
/* oklch */ color: oklch(45.5% 0.200 298.1);
Tailwind
colors: {
  custom: {
    50: '#9a6bcb',
    500: '#682bb4',
    950: '#000000',
  },
}
SCSS
$custom: #682bb4;
$custom-light: #9a6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#682bb4",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 266.715,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45463,
    "c": 0.20018,
    "h": 298.1
  },
  "luminance": 0.07966
}

Semantic roles & 50–950 ramp

primary
#682BB4
secondary
#A2C773
accent
#E5439D
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #682BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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