#654FCF#654FCF

#654FCF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.189 H 285.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#654FCF
RGBrgb(101, 79, 207)
HSLhsl(250, 57%, 56%)
HSVhsv(250, 62%, 81%)
CMYKcmyk(51.2%, 61.8%, 0%, 18.8%)
CIE-LABlab(42.56, 42.11, -63.45)
CIE-LCHlch(42.56, 76.15, 303.57°)
OKLaboklab(52.25% 0.0512 -0.1818)
OKLCHoklch(52.25% 0.189 285.7)
XYZxyz(19.4219, 12.8627, 60.4787)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FCF #B9CF4F
analogous
#4F79CF #654FCF #A54FCF
triadic
#654FCF #CF654F #4FCF65
tetradic
#654FCF #CF4F79 #B9CF4F #4FCFA5
square
#654FCF #CF4F79 #B9CF4F #4FCFA5
split-complementary
#654FCF #CFA54F #79CF4F
monochromatic
#332381 #4630B1 #654FCF #8F7FDC #B9AFE9

Accessibility & contrast

On white

5.88
#654FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#654FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FCF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FCF#FFFFFF#000000##FFFFFF
##654FCF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#3C6E88
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #654fcf;
/* rgb */ color: rgb(101, 79, 207);
/* oklch */ color: oklch(52.3% 0.189 285.7);
Tailwind
colors: {
  custom: {
    50: '#9981df',
    500: '#654fcf',
    950: '#000000',
  },
}
SCSS
$custom: #654fcf;
$custom-light: #9981df;
$custom-dark: #000000;
JSON
{
  "hex": "#654fcf",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 250.313,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52252,
    "c": 0.1889,
    "h": 285.7
  },
  "luminance": 0.12864
}

Semantic roles & 50–950 ramp

primary
#654FCF
secondary
#CED7A2
accent
#E047C6
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #654FCF

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

Preview Lab → · Contrast checker → · Palette generator →

#654FCF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva