#7F68CB#7F68CB

#7F68CB is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.5% C 0.148 H 291.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7F68CB
RGBrgb(127, 104, 203)
HSLhsl(254, 49%, 60%)
HSVhsv(254, 49%, 80%)
CMYKcmyk(37.4%, 48.8%, 0%, 20.4%)
CIE-LABlab(50.36, 32.07, -48.46)
CIE-LCHlch(50.36, 58.11, 303.50°)
OKLaboklab(58.51% 0.055 -0.137)
OKLCHoklch(58.51% 0.148 291.9)
XYZxyz(24.4793, 18.7238, 58.8126)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F68CB #B4CB68
analogous
#6883CB #7F68CB #B068CB
triadic
#7F68CB #CB7F68 #68CB7F
tetradic
#7F68CB #CB6883 #B4CB68 #68CBB0
square
#7F68CB #CB6883 #B4CB68 #68CBB0
split-complementary
#7F68CB #CBB068 #83CB68
monochromatic
#442F89 #5B3FB7 #7F68CB #A696DB #CCC3EA

Accessibility & contrast

On white

4.43
#7F68CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7F68CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F68CB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F68CB#FFFFFF#000000##000000
##7F68CB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4379CF
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#6C7C90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7f68cb;
/* rgb */ color: rgb(127, 104, 203);
/* oklch */ color: oklch(58.5% 0.148 291.9);
Tailwind
colors: {
  custom: {
    50: '#a893db',
    500: '#7f68cb',
    950: '#000000',
  },
}
SCSS
$custom: #7f68cb;
$custom-light: #a893db;
$custom-dark: #000000;
JSON
{
  "hex": "#7f68cb",
  "rgb": {
    "r": 127,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 253.939,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5851,
    "c": 0.14763,
    "h": 291.9
  },
  "luminance": 0.18724
}

Semantic roles & 50–950 ramp

primary
#7F68CB
secondary
#D2DAB4
accent
#BC299A
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7F68CB

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

Preview Lab → · Contrast checker → · Palette generator →

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