#674DDB#674DDB

#674DDB is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.1% C 0.206 H 285.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#674DDB
RGBrgb(103, 77, 219)
HSLhsl(251, 66%, 58%)
HSVhsv(251, 65%, 86%)
CMYKcmyk(53%, 64.8%, 0%, 14.1%)
CIE-LABlab(43.22, 47.16, -69.24)
CIE-LCHlch(43.22, 83.78, 304.26°)
OKLaboklab(53.06% 0.0546 -0.1988)
OKLCHoklch(53.06% 0.206 285.4)
XYZxyz(21.0297, 13.3047, 68.4640)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674DDB #C1DB4D
analogous
#4D7ADB #674DDB #AE4DDB
triadic
#674DDB #DB674D #4DDB67
tetradic
#674DDB #DB4D7A #C1DB4D #4DDBAE
square
#674DDB #DB4D7A #C1DB4D #4DDBAE
split-complementary
#674DDB #DBAE4D #7ADB4D
monochromatic
#321D90 #4427C3 #674DDB #9280E5 #BEB3F0

Accessibility & contrast

On white

5.74
#674DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#674DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674DDB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674DDB#FFFFFF#000000##FFFFFF
##674DDB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#37708D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #674ddb;
/* rgb */ color: rgb(103, 77, 219);
/* oklch */ color: oklch(53.1% 0.206 285.4);
Tailwind
colors: {
  custom: {
    50: '#9c80e7',
    500: '#674ddb',
    950: '#000000',
  },
}
SCSS
$custom: #674ddb;
$custom-light: #9c80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#674ddb",
  "rgb": {
    "r": 103,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 250.986,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53063,
    "c": 0.20618,
    "h": 285.4
  },
  "luminance": 0.13306
}

Semantic roles & 50–950 ramp

primary
#674DDB
secondary
#D4DEA6
accent
#E93FCA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #674DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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