#682FAC#682FAC

#682FAC is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.187 H 299.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#682FAC
RGBrgb(104, 47, 172)
HSLhsl(267, 57%, 43%)
HSVhsv(267, 73%, 67%)
CMYKcmyk(39.5%, 72.7%, 0%, 32.5%)
CIE-LABlab(33.89, 50.09, -57.00)
CIE-LCHlch(33.89, 75.88, 311.31°)
OKLaboklab(45.24% 0.0924 -0.1627)
OKLCHoklch(45.24% 0.187 299.6)
XYZxyz(14.1700, 7.9545, 39.8106)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682FAC #73AC2F
analogous
#2F34AC #682FAC #A62FAC
triadic
#682FAC #AC682F #2FAC68
tetradic
#682FAC #AC2F34 #73AC2F #2FACA6
square
#682FAC #AC2F34 #73AC2F #2FACA6
split-complementary
#682FAC #ACA62F #34AC2F
monochromatic
#2E154C #4B227C #682FAC #864BCE #A67BDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##682FAC#FFFFFF#000000##FFFFFF
##682FAC1.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)
#004FB0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#584E6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #682fac;
/* rgb */ color: rgb(104, 47, 172);
/* oklch */ color: oklch(45.2% 0.187 299.6);
Tailwind
colors: {
  custom: {
    50: '#996dc6',
    500: '#682fac',
    950: '#000000',
  },
}
SCSS
$custom: #682fac;
$custom-light: #996dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#682fac",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 267.36,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45241,
    "c": 0.18715,
    "h": 299.6
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

primary
#682FAC
secondary
#9FC374
accent
#E0479B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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