#7F62DD#7F62DD

#7F62DD is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.6% C 0.180 H 290.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7F62DD
RGBrgb(127, 98, 221)
HSLhsl(254, 64%, 63%)
HSVhsv(254, 56%, 87%)
CMYKcmyk(42.5%, 55.7%, 0%, 13.3%)
CIE-LABlab(50.06, 40.54, -59.20)
CIE-LCHlch(50.06, 71.75, 304.40°)
OKLaboklab(58.63% 0.0634 -0.1685)
OKLCHoklch(58.63% 0.18 290.6)
XYZxyz(26.1676, 18.4670, 70.5783)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F62DD #C0DD62
analogous
#6283DD #7F62DD #BC62DD
triadic
#7F62DD #DD7F62 #62DD7F
tetradic
#7F62DD #DD6283 #C0DD62 #62DDBC
square
#7F62DD #DD6283 #C0DD62 #62DDBC
split-complementary
#7F62DD #DDBC62 #83DD62
monochromatic
#4123A2 #5630D2 #7F62DD #A894E8 #D1C7F3

Accessibility & contrast

On white

4.47
#7F62DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7F62DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F62DD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F62DD#FFFFFF#000000##000000
##7F62DD1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E79E1
Deuteranopia (green-blind)
#2574DA
Tritanopia (blue-blind)
#647D96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7f62dd;
/* rgb */ color: rgb(127, 98, 221);
/* oklch */ color: oklch(58.6% 0.180 290.6);
Tailwind
colors: {
  custom: {
    50: '#aa8fe8',
    500: '#7f62dd',
    950: '#000000',
  },
}
SCSS
$custom: #7f62dd;
$custom-light: #aa8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f62dd",
  "rgb": {
    "r": 127,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 254.146,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58631,
    "c": 0.18005,
    "h": 290.6
  },
  "luminance": 0.18468
}

Semantic roles & 50–950 ramp

primary
#7F62DD
secondary
#D9E4B7
accent
#CC19A2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7F62DD

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

Preview Lab → · Contrast checker → · Palette generator →

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