#7B62DD#7B62DD

#7B62DD is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.3% C 0.180 H 288.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7B62DD
RGBrgb(123, 98, 221)
HSLhsl(252, 64%, 63%)
HSVhsv(252, 56%, 87%)
CMYKcmyk(44.3%, 55.7%, 0%, 13.3%)
CIE-LABlab(49.70, 39.66, -59.80)
CIE-LCHlch(49.70, 71.75, 303.55°)
OKLaboklab(58.28% 0.0584 -0.1704)
OKLCHoklch(58.28% 0.18 288.9)
XYZxyz(25.5835, 18.1658, 70.5510)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B62DD #C4DD62
analogous
#6287DD #7B62DD #B862DD
triadic
#7B62DD #DD7B62 #62DD7B
tetradic
#7B62DD #DD6287 #C4DD62 #62DDB8
square
#7B62DD #DD6287 #C4DD62 #62DDB8
split-complementary
#7B62DD #DDB862 #87DD62
monochromatic
#3D23A2 #5130D2 #7B62DD #A594E8 #D0C7F3

Accessibility & contrast

On white

4.53
#7B62DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7B62DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B62DD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B62DD#FFFFFF#000000##000000
##7B62DD1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A79E1
Deuteranopia (green-blind)
#1E73DA
Tritanopia (blue-blind)
#5D7D96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b62dd;
/* rgb */ color: rgb(123, 98, 221);
/* oklch */ color: oklch(58.3% 0.180 288.9);
Tailwind
colors: {
  custom: {
    50: '#a78fe8',
    500: '#7b62dd',
    950: '#000000',
  },
}
SCSS
$custom: #7b62dd;
$custom-light: #a78fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b62dd",
  "rgb": {
    "r": 123,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 252.195,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58277,
    "c": 0.18011,
    "h": 288.9
  },
  "luminance": 0.18167
}

Semantic roles & 50–950 ramp

primary
#7B62DD
secondary
#DBE4B7
accent
#CC19A8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B62DD

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

Preview Lab → · Contrast checker → · Palette generator →

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