#674DC8#674DC8

#674DC8 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.182 H 288.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#674DC8
RGBrgb(103, 77, 200)
HSLhsl(253, 53%, 54%)
HSVhsv(253, 62%, 78%)
CMYKcmyk(48.5%, 61.5%, 0%, 21.6%)
CIE-LABlab(41.78, 41.58, -60.65)
CIE-LCHlch(41.78, 73.53, 304.44°)
OKLaboklab(51.57% 0.0563 -0.1735)
OKLCHoklch(51.57% 0.182 288)
XYZxyz(18.6697, 12.3606, 56.0345)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674DC8 #AEC84D
analogous
#4D71C8 #674DC8 #A54DC8
triadic
#674DC8 #C8674D #4DC867
tetradic
#674DC8 #C84D71 #AEC84D #4DC8A5
square
#674DC8 #C84D71 #AEC84D #4DC8A5
split-complementary
#674DC8 #C8A54D #71C84D
monochromatic
#362476 #4B33A5 #674DC8 #8F7CD6 #B7ABE5

Accessibility & contrast

On white

6.05
#674DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#674DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674DC8
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674DC8#FFFFFF#000000##FFFFFF
##674DC81.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#466A83
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #674dc8;
/* rgb */ color: rgb(103, 77, 200);
/* oklch */ color: oklch(51.6% 0.182 288.0);
Tailwind
colors: {
  custom: {
    50: '#9a80da',
    500: '#674dc8',
    950: '#000000',
  },
}
SCSS
$custom: #674dc8;
$custom-light: #9a80da;
$custom-dark: #000000;
JSON
{
  "hex": "#674dc8",
  "rgb": {
    "r": 103,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 252.683,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5157,
    "c": 0.18246,
    "h": 288
  },
  "luminance": 0.12361
}

Semantic roles & 50–950 ramp

primary
#674DC8
secondary
#C7D29E
accent
#DC4CBE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #674DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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