#7F67DB#7F67DB

#7F67DB is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.3% C 0.170 H 289.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7F67DB
RGBrgb(127, 103, 219)
HSLhsl(252, 62%, 63%)
HSVhsv(252, 53%, 86%)
CMYKcmyk(42%, 53%, 0%, 14.1%)
CIE-LABlab(51.07, 37.09, -56.44)
CIE-LCHlch(51.07, 67.54, 303.31°)
OKLaboklab(59.34% 0.0575 -0.1604)
OKLCHoklch(59.34% 0.17 289.7)
XYZxyz(26.3853, 19.3261, 69.3442)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F67DB #C3DB67
analogous
#6789DB #7F67DB #B967DB
triadic
#7F67DB #DB7F67 #67DB7F
tetradic
#7F67DB #DB6789 #C3DB67 #67DBB9
square
#7F67DB #DB6789 #C3DB67 #67DBB9
split-complementary
#7F67DB #DBB967 #89DB67
monochromatic
#4026A1 #5536CF #7F67DB #A998E7 #D2CAF2

Accessibility & contrast

On white

4.32
#7F67DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7F67DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F67DB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F67DB#FFFFFF#000000##000000
##7F67DB1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CDF
Deuteranopia (green-blind)
#3377D8
Tritanopia (blue-blind)
#658097
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7f67db;
/* rgb */ color: rgb(127, 103, 219);
/* oklch */ color: oklch(59.3% 0.170 289.7);
Tailwind
colors: {
  custom: {
    50: '#a993e7',
    500: '#7f67db',
    950: '#000000',
  },
}
SCSS
$custom: #7f67db;
$custom-light: #a993e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f67db",
  "rgb": {
    "r": 127,
    "g": 103,
    "b": 219
  },
  "hsl": {
    "h": 252.414,
    "s": 61.702,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59338,
    "c": 0.17038,
    "h": 289.7
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

primary
#7F67DB
secondary
#DBE4BA
accent
#C91CA6
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7F67DB

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

Preview Lab → · Contrast checker → · Palette generator →

#7F67DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva