#7867CD#7867CD

#7867CD is a mid, vivid violet. Relative luminance 0.181; OKLCH L 57.8% C 0.152 H 288.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7867CD
RGBrgb(120, 103, 205)
HSLhsl(250, 50%, 60%)
HSVhsv(250, 50%, 80%)
CMYKcmyk(41.5%, 49.8%, 0%, 19.6%)
CIE-LABlab(49.62, 31.48, -50.83)
CIE-LCHlch(49.62, 59.79, 301.77°)
OKLaboklab(57.84% 0.0479 -0.1441)
OKLCHoklch(57.84% 0.152 288.4)
XYZxyz(23.6123, 18.1005, 59.9954)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7867CD #BCCD67
analogous
#6789CD #7867CD #AB67CD
triadic
#7867CD #CD7867 #67CD78
tetradic
#7867CD #CD6789 #BCCD67 #67CDAB
square
#7867CD #CD6789 #BCCD67 #67CDAB
split-complementary
#7867CD #CDAB67 #89CD67
monochromatic
#3E2E8C #523DBA #7867CD #A195DC #CAC3EB

Accessibility & contrast

On white

4.55
#7867CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7867CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7867CD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7867CD#FFFFFF#000000##000000
##7867CD1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D1
Deuteranopia (green-blind)
#3D73CB
Tritanopia (blue-blind)
#607C90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7867cd;
/* rgb */ color: rgb(120, 103, 205);
/* oklch */ color: oklch(57.8% 0.152 288.4);
Tailwind
colors: {
  custom: {
    50: '#a392dd',
    500: '#7867cd',
    950: '#000000',
  },
}
SCSS
$custom: #7867cd;
$custom-light: #a392dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7867cd",
  "rgb": {
    "r": 120,
    "g": 103,
    "b": 205
  },
  "hsl": {
    "h": 250,
    "s": 50.495,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57839,
    "c": 0.15186,
    "h": 288.4
  },
  "luminance": 0.18101
}

Semantic roles & 50–950 ramp

primary
#7867CD
secondary
#D5DBB4
accent
#BE28A5
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #7867CD

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

Preview Lab → · Contrast checker → · Palette generator →

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