#674FD2#674FD2

#674FD2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.193 H 286.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#674FD2
RGBrgb(103, 79, 210)
HSLhsl(251, 59%, 57%)
HSVhsv(251, 62%, 82%)
CMYKcmyk(51%, 62.4%, 0%, 17.6%)
CIE-LABlab(42.95, 43.37, -64.51)
CIE-LCHlch(42.95, 77.74, 303.91°)
OKLaboklab(52.66% 0.0536 -0.1849)
OKLCHoklch(52.66% 0.193 286.2)
XYZxyz(20.0189, 13.1277, 62.4393)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FD2 #BAD24F
analogous
#4F79D2 #674FD2 #A84FD2
triadic
#674FD2 #D2674F #4FD267
tetradic
#674FD2 #D24F79 #BAD24F #4FD2A8
square
#674FD2 #D24F79 #BAD24F #4FD2A8
split-complementary
#674FD2 #D2A84F #79D24F
monochromatic
#342285 #472EB5 #674FD2 #9180DE #BBB0EB

Accessibility & contrast

On white

5.79
#674FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#674FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674FD2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FD2#FFFFFF#000000##FFFFFF
##674FD21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#3F6E89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #674fd2;
/* rgb */ color: rgb(103, 79, 210);
/* oklch */ color: oklch(52.7% 0.193 286.2);
Tailwind
colors: {
  custom: {
    50: '#9b81e1',
    500: '#674fd2',
    950: '#000000',
  },
}
SCSS
$custom: #674fd2;
$custom-light: #9b81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#674fd2",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 250.992,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52656,
    "c": 0.19252,
    "h": 286.2
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

primary
#674FD2
secondary
#CFD9A4
accent
#E245C6
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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