#7F62CD#7F62CD

#7F62CD is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.6% C 0.159 H 293.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7F62CD
RGBrgb(127, 98, 205)
HSLhsl(256, 52%, 59%)
HSVhsv(256, 52%, 80%)
CMYKcmyk(38%, 52.2%, 0%, 19.6%)
CIE-LABlab(49.07, 36.13, -51.66)
CIE-LCHlch(49.07, 63.05, 304.97°)
OKLaboklab(57.59% 0.0629 -0.1464)
OKLCHoklch(57.59% 0.159 293.2)
XYZxyz(24.1366, 17.6546, 59.8818)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F62CD #B0CD62
analogous
#627BCD #7F62CD #B562CD
triadic
#7F62CD #CD7F62 #62CD7F
tetradic
#7F62CD #CD627B #B0CD62 #62CDB5
square
#7F62CD #CD627B #B0CD62 #62CDB5
split-complementary
#7F62CD #CDB562 #7BCD62
monochromatic
#452C89 #5C3AB7 #7F62CD #A590DC #CBBFEB

Accessibility & contrast

On white

4.63
#7F62CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7F62CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F62CD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F62CD#FFFFFF#000000##FFFFFF
##7F62CD1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#6B788E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f62cd;
/* rgb */ color: rgb(127, 98, 205);
/* oklch */ color: oklch(57.6% 0.159 293.2);
Tailwind
colors: {
  custom: {
    50: '#a88fdd',
    500: '#7f62cd',
    950: '#000000',
  },
}
SCSS
$custom: #7f62cd;
$custom-light: #a88fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f62cd",
  "rgb": {
    "r": 127,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 256.262,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57586,
    "c": 0.15931,
    "h": 293.2
  },
  "luminance": 0.17655
}

Semantic roles & 50–950 ramp

primary
#7F62CD
secondary
#CFDAB1
accent
#DB4DB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7F62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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