#682FB0#682FB0

#682FB0 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.192 H 298.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#682FB0
RGBrgb(104, 47, 176)
HSLhsl(267, 58%, 44%)
HSVhsv(267, 73%, 69%)
CMYKcmyk(40.9%, 73.3%, 0%, 31%)
CIE-LABlab(34.21, 51.10, -58.86)
CIE-LCHlch(34.21, 77.95, 310.96°)
OKLaboklab(45.57% 0.0916 -0.1682)
OKLCHoklch(45.57% 0.192 298.6)
XYZxyz(14.5599, 8.1105, 41.8643)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682FB0 #77B02F
analogous
#2F36B0 #682FB0 #A82FB0
triadic
#682FB0 #B0682F #2FB068
tetradic
#682FB0 #B02F36 #77B02F #2FB0A8
square
#682FB0 #B02F36 #77B02F #2FB0A8
split-complementary
#682FB0 #B0A82F #36B02F
monochromatic
#2F154F #4B2280 #682FB0 #874DCF #A77DDC

Accessibility & contrast

On white

8.01
#682FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682FB0
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682FB0#FFFFFF#000000##FFFFFF
##682FB01.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#56506D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #682fb0;
/* rgb */ color: rgb(104, 47, 176);
/* oklch */ color: oklch(45.6% 0.192 298.6);
Tailwind
colors: {
  custom: {
    50: '#9a6dc9',
    500: '#682fb0',
    950: '#000000',
  },
}
SCSS
$custom: #682fb0;
$custom-light: #9a6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#682fb0",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 266.512,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45572,
    "c": 0.19152,
    "h": 298.6
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#682FB0
secondary
#A2C576
accent
#E1479D
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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