#682FBC#682FBC

#682FBC is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.205 H 295.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#682FBC
RGBrgb(104, 47, 188)
HSLhsl(264, 60%, 46%)
HSVhsv(264, 75%, 74%)
CMYKcmyk(44.7%, 75%, 0%, 26.3%)
CIE-LABlab(35.22, 54.17, -64.33)
CIE-LCHlch(35.22, 84.10, 310.10°)
OKLaboklab(46.59% 0.0888 -0.1843)
OKLCHoklch(46.59% 0.205 295.7)
XYZxyz(15.8001, 8.6065, 48.3960)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682FBC #83BC2F
analogous
#2F3DBC #682FBC #AE2FBC
triadic
#682FBC #BC682F #2FBC68
tetradic
#682FBC #BC2F3D #83BC2F #2FBCAE
square
#682FBC #BC2F3D #83BC2F #2FBCAE
split-complementary
#682FBC #BCAE2F #3DBC2F
monochromatic
#32175A #4D238B #682FBC #8854D4 #AA85E0

Accessibility & contrast

On white

7.72
#682FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#682FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682FBC
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682FBC#FFFFFF#000000##FFFFFF
##682FBC1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#515574
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #682fbc;
/* rgb */ color: rgb(104, 47, 188);
/* oklch */ color: oklch(46.6% 0.205 295.7);
Tailwind
colors: {
  custom: {
    50: '#9b6dd1',
    500: '#682fbc',
    950: '#000000',
  },
}
SCSS
$custom: #682fbc;
$custom-light: #9b6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#682fbc",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 264.255,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4659,
    "c": 0.20455,
    "h": 295.7
  },
  "luminance": 0.08607
}

Semantic roles & 50–950 ramp

primary
#682FBC
secondary
#ABCA7D
accent
#E345A3
background
#FAF6FD
surface
#F3ECFA
border
#CDC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #682FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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