#8068CD#8068CD

#8068CD is a mid, vivid violet. Relative luminance 0.189; OKLCH L 58.7% C 0.150 H 292.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8068CD
RGBrgb(128, 104, 205)
HSLhsl(254, 50%, 61%)
HSVhsv(254, 49%, 80%)
CMYKcmyk(37.6%, 49.3%, 0%, 19.6%)
CIE-LABlab(50.57, 32.87, -49.27)
CIE-LCHlch(50.57, 59.23, 303.71°)
OKLaboklab(58.72% 0.0565 -0.1393)
OKLCHoklch(58.72% 0.15 292.1)
XYZxyz(24.8689, 18.8970, 60.0830)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8068CD #B5CD68
analogous
#6882CD #8068CD #B268CD
triadic
#8068CD #CD8068 #68CD80
tetradic
#8068CD #CD6882 #B5CD68 #68CDB2
square
#8068CD #CD6882 #B5CD68 #68CDB2
split-complementary
#8068CD #CDB268 #82CD68
monochromatic
#452E8C #5B3EBA #8068CD #A796DC #CDC4EB

Accessibility & contrast

On white

4.39
#8068CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8068CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8068CD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8068CD#FFFFFF#000000##000000
##8068CD1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#417AD1
Deuteranopia (green-blind)
#4576CB
Tritanopia (blue-blind)
#6C7C91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8068cd;
/* rgb */ color: rgb(128, 104, 205);
/* oklch */ color: oklch(58.7% 0.150 292.1);
Tailwind
colors: {
  custom: {
    50: '#a893dd',
    500: '#8068cd',
    950: '#000000',
  },
}
SCSS
$custom: #8068cd;
$custom-light: #a893dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8068cd",
  "rgb": {
    "r": 128,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 254.257,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58722,
    "c": 0.15035,
    "h": 292.1
  },
  "luminance": 0.18898
}

Semantic roles & 50–950 ramp

primary
#8068CD
secondary
#D2DCB5
accent
#BE289A
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8068CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8068CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva