#674DD5#674DD5

#674DD5 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.199 H 286.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#674DD5
RGBrgb(103, 77, 213)
HSLhsl(251, 62%, 57%)
HSVhsv(251, 64%, 84%)
CMYKcmyk(51.6%, 63.8%, 0%, 16.5%)
CIE-LABlab(42.75, 45.40, -66.56)
CIE-LCHlch(42.75, 80.57, 304.29°)
OKLaboklab(52.58% 0.0553 -0.1909)
OKLCHoklch(52.58% 0.199 286.1)
XYZxyz(20.2541, 12.9944, 64.3788)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674DD5 #BBD54D
analogous
#4D77D5 #674DD5 #AB4DD5
triadic
#674DD5 #D5674D #4DD567
tetradic
#674DD5 #D54D77 #BBD54D #4DD5AB
square
#674DD5 #D54D77 #BBD54D #4DD5AB
split-complementary
#674DD5 #D5AB4D #77D54D
monochromatic
#342088 #472CB9 #674DD5 #917FE1 #BCB0EC

Accessibility & contrast

On white

5.83
#674DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#674DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674DD5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674DD5#FFFFFF#000000##FFFFFF
##674DD51.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#3C6E8A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #674dd5;
/* rgb */ color: rgb(103, 77, 213);
/* oklch */ color: oklch(52.6% 0.199 286.1);
Tailwind
colors: {
  custom: {
    50: '#9b80e3',
    500: '#674dd5',
    950: '#000000',
  },
}
SCSS
$custom: #674dd5;
$custom-light: #9b80e3;
$custom-dark: #000000;
JSON
{
  "hex": "#674dd5",
  "rgb": {
    "r": 103,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 251.471,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52582,
    "c": 0.19879,
    "h": 286.1
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#674DD5
secondary
#D0DBA3
accent
#E543C6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #674DD5

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

Preview Lab → · Contrast checker → · Palette generator →

#674DD5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva