#674CE2#674CE2

#674CE2 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.5% C 0.216 H 284.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#674CE2
RGBrgb(103, 76, 226)
HSLhsl(251, 72%, 59%)
HSVhsv(251, 66%, 89%)
CMYKcmyk(54.4%, 66.4%, 0%, 11.4%)
CIE-LABlab(43.57, 49.77, -72.66)
CIE-LCHlch(43.57, 88.07, 304.41°)
OKLaboklab(53.49% 0.0546 -0.2088)
OKLCHoklch(53.49% 0.216 284.7)
XYZxyz(21.9013, 13.5422, 73.3966)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CE2 #C7E24C
analogous
#4C7CE2 #674CE2 #B24CE2
triadic
#674CE2 #E2674C #4CE267
tetradic
#674CE2 #E24C7C #C7E24C #4CE2B2
square
#674CE2 #E24C7C #C7E24C #4CE2B2
split-complementary
#674CE2 #E2B24C #7CE24C
monochromatic
#30199B #4122CF #674CE2 #9481EB #C0B5F3

Accessibility & contrast

On white

5.66
#674CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#674CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CE2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CE2#FFFFFF#000000##FFFFFF
##674CE21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#2F7291
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #674ce2;
/* rgb */ color: rgb(103, 76, 226);
/* oklch */ color: oklch(53.5% 0.216 284.7);
Tailwind
colors: {
  custom: {
    50: '#9d80ec',
    500: '#674ce2',
    950: '#000000',
  },
}
SCSS
$custom: #674ce2;
$custom-light: #9d80ec;
$custom-dark: #000000;
JSON
{
  "hex": "#674ce2",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 250.8,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53488,
    "c": 0.21588,
    "h": 284.7
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#674CE2
secondary
#D8E2A8
accent
#EF39CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #674CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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