#7867CA#7867CA

#7867CA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.7% C 0.148 H 288.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7867CA
RGBrgb(120, 103, 202)
HSLhsl(250, 48%, 60%)
HSVhsv(250, 49%, 79%)
CMYKcmyk(40.6%, 49%, 0%, 20.8%)
CIE-LABlab(49.44, 30.63, -49.39)
CIE-LCHlch(49.44, 58.12, 301.81°)
OKLaboklab(57.65% 0.0476 -0.1399)
OKLCHoklch(57.65% 0.148 288.8)
XYZxyz(23.2537, 17.9571, 58.1065)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7867CA #B9CA67
analogous
#6788CA #7867CA #AA67CA
triadic
#7867CA #CA7867 #67CA78
tetradic
#7867CA #CA6788 #B9CA67 #67CAAA
square
#7867CA #CA6788 #B9CA67 #67CAAA
split-complementary
#7867CA #CAAA67 #88CA67
monochromatic
#3E2F87 #533FB5 #7867CA #A094DA #C9C2EA

Accessibility & contrast

On white

4.57
#7867CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7867CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7867CA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7867CA#FFFFFF#000000##000000
##7867CA1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78CE
Deuteranopia (green-blind)
#4073C8
Tritanopia (blue-blind)
#617B8F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7867ca;
/* rgb */ color: rgb(120, 103, 202);
/* oklch */ color: oklch(57.7% 0.148 288.8);
Tailwind
colors: {
  custom: {
    50: '#a392db',
    500: '#7867ca',
    950: '#000000',
  },
}
SCSS
$custom: #7867ca;
$custom-light: #a392db;
$custom-dark: #000000;
JSON
{
  "hex": "#7867ca",
  "rgb": {
    "r": 120,
    "g": 103,
    "b": 202
  },
  "hsl": {
    "h": 250.303,
    "s": 48.293,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57653,
    "c": 0.14777,
    "h": 288.8
  },
  "luminance": 0.17958
}

Semantic roles & 50–950 ramp

primary
#7867CA
secondary
#D3DAB3
accent
#D850C1
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #7867CA

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

Preview Lab → · Contrast checker → · Palette generator →

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