#674BDC#674BDC

#674BDC is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.8% C 0.210 H 285.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#674BDC
RGBrgb(103, 75, 220)
HSLhsl(252, 67%, 58%)
HSVhsv(252, 66%, 86%)
CMYKcmyk(53.2%, 65.9%, 0%, 13.7%)
CIE-LABlab(42.89, 48.57, -70.35)
CIE-LCHlch(42.89, 85.49, 304.62°)
OKLaboklab(52.85% 0.0563 -0.2021)
OKLCHoklch(52.85% 0.21 285.6)
XYZxyz(21.0240, 13.0819, 69.1135)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BDC #C0DC4B
analogous
#4B78DC #674BDC #AF4BDC
triadic
#674BDC #DC674B #4BDC67
tetradic
#674BDC #DC4B78 #C0DC4B #4BDCAF
square
#674BDC #DC4B78 #C0DC4B #4BDCAF
split-complementary
#674BDC #DCAF4B #78DC4B
monochromatic
#331C91 #4526C4 #674BDC #927EE6 #BEB1F0

Accessibility & contrast

On white

5.81
#674BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#674BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BDC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BDC#FFFFFF#000000##FFFFFF
##674BDC1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#36708D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #674bdc;
/* rgb */ color: rgb(103, 75, 220);
/* oklch */ color: oklch(52.8% 0.210 285.6);
Tailwind
colors: {
  custom: {
    50: '#9d7fe8',
    500: '#674bdc',
    950: '#000000',
  },
}
SCSS
$custom: #674bdc;
$custom-light: #9d7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#674bdc",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 251.586,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52847,
    "c": 0.20979,
    "h": 285.6
  },
  "luminance": 0.13083
}

Semantic roles & 50–950 ramp

primary
#674BDC
secondary
#D3DEA4
accent
#EA3DC9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #674BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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