#7F67EC#7F67EC

#7F67EC is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.5% C 0.192 H 287.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7F67EC
RGBrgb(127, 103, 236)
HSLhsl(251, 78%, 66%)
HSVhsv(251, 56%, 93%)
CMYKcmyk(46.2%, 56.4%, 0%, 7.5%)
CIE-LABlab(52.14, 41.89, -64.29)
CIE-LCHlch(52.14, 76.73, 303.09°)
OKLaboklab(60.48% 0.0579 -0.1835)
OKLCHoklch(60.48% 0.192 287.5)
XYZxyz(28.7386, 20.2675, 81.7384)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F67EC #D4EC67
analogous
#6792EC #7F67EC #C267EC
triadic
#7F67EC #EC7F67 #67EC7F
tetradic
#7F67EC #EC6792 #D4EC67 #67ECC2
square
#7F67EC #EC6792 #D4EC67 #67ECC2
split-complementary
#7F67EC #ECC267 #92EC67
monochromatic
#3618C1 #5131E5 #7F67EC #AD9DF3 #DBD4FA

Accessibility & contrast

On white

4.16
#7F67EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7F67EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F67EC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F67EC#FFFFFF#000000##000000
##7F67EC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B80F0
Deuteranopia (green-blind)
#0B79E9
Tritanopia (blue-blind)
#5C85A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7f67ec;
/* rgb */ color: rgb(127, 103, 236);
/* oklch */ color: oklch(60.5% 0.192 287.5);
Tailwind
colors: {
  custom: {
    50: '#ab93f3',
    500: '#7f67ec',
    950: '#000000',
  },
}
SCSS
$custom: #7f67ec;
$custom-light: #ab93f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f67ec",
  "rgb": {
    "r": 127,
    "g": 103,
    "b": 236
  },
  "hsl": {
    "h": 250.827,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60475,
    "c": 0.19237,
    "h": 287.5
  },
  "luminance": 0.20269
}

Semantic roles & 50–950 ramp

primary
#7F67EC
secondary
#E5EDC2
accent
#DA0BB5
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F67EC

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

Preview Lab → · Contrast checker → · Palette generator →

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