#7F62CF#7F62CF

#7F62CF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.7% C 0.162 H 292.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7F62CF
RGBrgb(127, 98, 207)
HSLhsl(256, 53%, 60%)
HSVhsv(256, 53%, 81%)
CMYKcmyk(38.6%, 52.7%, 0%, 18.8%)
CIE-LABlab(49.19, 36.68, -52.62)
CIE-LCHlch(49.19, 64.14, 304.88°)
OKLaboklab(57.71% 0.063 -0.1492)
OKLCHoklch(57.71% 0.162 292.9)
XYZxyz(24.3796, 17.7518, 61.1613)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F62CF #B2CF62
analogous
#627CCF #7F62CF #B562CF
triadic
#7F62CF #CF7F62 #62CF7F
tetradic
#7F62CF #CF627C #B2CF62 #62CFB5
square
#7F62CF #CF627C #B2CF62 #62CFB5
split-complementary
#7F62CF #CFB562 #7CCF62
monochromatic
#452B8C #5C39BB #7F62CF #A591DD #CBC0EC

Accessibility & contrast

On white

4.61
#7F62CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7F62CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F62CF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F62CF#FFFFFF#000000##FFFFFF
##7F62CF1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3376D3
Deuteranopia (green-blind)
#3973CD
Tritanopia (blue-blind)
#6A788F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f62cf;
/* rgb */ color: rgb(127, 98, 207);
/* oklch */ color: oklch(57.7% 0.162 292.9);
Tailwind
colors: {
  custom: {
    50: '#a88fde',
    500: '#7f62cf',
    950: '#000000',
  },
}
SCSS
$custom: #7f62cf;
$custom-light: #a88fde;
$custom-dark: #000000;
JSON
{
  "hex": "#7f62cf",
  "rgb": {
    "r": 127,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 255.963,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57713,
    "c": 0.16193,
    "h": 292.9
  },
  "luminance": 0.17752
}

Semantic roles & 50–950 ramp

primary
#7F62CF
secondary
#D0DBB1
accent
#DD4BB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7F62CF

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

Preview Lab → · Contrast checker → · Palette generator →

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