#7D74DF#7D74DF

#7D74DF is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.7% C 0.157 H 284.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7D74DF
RGBrgb(125, 116, 223)
HSLhsl(245, 63%, 66%)
HSVhsv(245, 48%, 87%)
CMYKcmyk(43.9%, 48%, 0%, 12.5%)
CIE-LABlab(54.21, 30.12, -53.67)
CIE-LCHlch(54.21, 61.54, 299.30°)
OKLaboklab(61.73% 0.0397 -0.1523)
OKLCHoklch(61.73% 0.157 284.6)
XYZxyz(28.0182, 22.1773, 72.6021)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D74DF #D6DF74
analogous
#74A1DF #7D74DF #B374DF
triadic
#7D74DF #DF7D74 #74DF7D
tetradic
#7D74DF #DF74A1 #D6DF74 #74DFB3
square
#7D74DF #DF74A1 #D6DF74 #74DFB3
split-complementary
#7D74DF #DFB374 #A1DF74
monochromatic
#3429B0 #4E42D4 #7D74DF #ACA6EA #DAD7F6

Accessibility & contrast

On white

3.86
#7D74DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7D74DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D74DF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D74DF#FFFFFF#000000##000000
##7D74DF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4785E3
Deuteranopia (green-blind)
#447EDD
Tritanopia (blue-blind)
#5E8A9F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d74df;
/* rgb */ color: rgb(125, 116, 223);
/* oklch */ color: oklch(61.7% 0.157 284.6);
Tailwind
colors: {
  custom: {
    50: '#a89ce9',
    500: '#7d74df',
    950: '#000000',
  },
}
SCSS
$custom: #7d74df;
$custom-light: #a89ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d74df",
  "rgb": {
    "r": 125,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 245.047,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61728,
    "c": 0.15735,
    "h": 284.6
  },
  "luminance": 0.22178
}

Semantic roles & 50–950 ramp

primary
#7D74DF
secondary
#E6E9C6
accent
#CA1BBC
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7D74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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