#7C62CA#7C62CA

#7C62CA is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.1% C 0.155 H 292.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7C62CA
RGBrgb(124, 98, 202)
HSLhsl(255, 50%, 59%)
HSVhsv(255, 51%, 79%)
CMYKcmyk(38.6%, 51.5%, 0%, 20.8%)
CIE-LABlab(48.62, 34.58, -50.69)
CIE-LCHlch(48.62, 61.36, 304.30°)
OKLaboklab(57.12% 0.0589 -0.1436)
OKLCHoklch(57.12% 0.155 292.3)
XYZxyz(23.3377, 17.2841, 57.9722)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C62CA #B0CA62
analogous
#627CCA #7C62CA #B062CA
triadic
#7C62CA #CA7C62 #62CA7C
tetradic
#7C62CA #CA627C #B0CA62 #62CAB0
square
#7C62CA #CA627C #B0CA62 #62CAB0
split-complementary
#7C62CA #CAB062 #7CCA62
monochromatic
#432D85 #5A3CB3 #7C62CA #A290D9 #C8BEE9

Accessibility & contrast

On white

4.71
#7C62CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7C62CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C62CA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C62CA#FFFFFF#000000##FFFFFF
##7C62CA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3775CE
Deuteranopia (green-blind)
#3C71C8
Tritanopia (blue-blind)
#68778D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c62ca;
/* rgb */ color: rgb(124, 98, 202);
/* oklch */ color: oklch(57.1% 0.155 292.3);
Tailwind
colors: {
  custom: {
    50: '#a68fdb',
    500: '#7c62ca',
    950: '#000000',
  },
}
SCSS
$custom: #7c62ca;
$custom-light: #a68fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c62ca",
  "rgb": {
    "r": 124,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 255,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57121,
    "c": 0.15522,
    "h": 292.3
  },
  "luminance": 0.17285
}

Semantic roles & 50–950 ramp

primary
#7C62CA
secondary
#CED8AF
accent
#D94FB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7C62CA

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

Preview Lab → · Contrast checker → · Palette generator →

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