#672AFA#672AFA

#672AFA is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.9% C 0.273 H 285.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#672AFA
RGBrgb(103, 42, 250)
HSLhsl(258, 95%, 57%)
HSVhsv(258, 83%, 98%)
CMYKcmyk(58.8%, 83.2%, 0%, 2%)
CIE-LABlab(40.31, 71.86, -91.56)
CIE-LCHlch(40.31, 116.39, 308.12°)
OKLaboklab(51.86% 0.071 -0.2639)
OKLCHoklch(51.86% 0.273 285.1)
XYZxyz(23.6715, 11.4401, 91.3847)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672AFA #BDFA2A
analogous
#2A55FA #672AFA #CF2AFA
triadic
#672AFA #FA672A #2AFA67
tetradic
#672AFA #FA2A55 #BDFA2A #2AFACF
square
#672AFA #FA2A55 #BDFA2A #2AFACF
split-complementary
#672AFA #FACF2A #55FA2A
monochromatic
#3304A6 #4605E2 #672AFA #9266FB #BCA2FD

Accessibility & contrast

On white

6.39
#672AFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#672AFA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #672AFA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672AFA#FFFFFF#000000##FFFFFF
##672AFA1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064FF
Deuteranopia (green-blind)
#0059F6
Tritanopia (blue-blind)
#006D96
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #672afa;
/* rgb */ color: rgb(103, 42, 250);
/* oklch */ color: oklch(51.9% 0.273 285.1);
Tailwind
colors: {
  custom: {
    50: '#a36ffe',
    500: '#672afa',
    950: '#000000',
  },
}
SCSS
$custom: #672afa;
$custom-light: #a36ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#672afa",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 250
  },
  "hsl": {
    "h": 257.596,
    "s": 95.413,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51861,
    "c": 0.27326,
    "h": 285.1
  },
  "luminance": 0.11442
}

Semantic roles & 50–950 ramp

primary
#672AFA
secondary
#D1EA96
accent
#FF29C0
background
#FBF7FF
surface
#F6EDFF
border
#D0C8D7
text
#110818
muted
#807B86

Preview Lab

Preview with #672AFA

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

Preview Lab → · Contrast checker → · Palette generator →

#672AFA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva