#6E45FC#6E45FC

#6E45FC is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.4% C 0.253 H 284.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6E45FC
RGBrgb(110, 69, 252)
HSLhsl(253, 97%, 63%)
HSVhsv(253, 73%, 99%)
CMYKcmyk(56.3%, 72.6%, 0%, 1.2%)
CIE-LABlab(45.08, 61.82, -84.80)
CIE-LCHlch(45.08, 104.94, 306.09°)
OKLaboklab(55.39% 0.0649 -0.2442)
OKLCHoklch(55.39% 0.253 284.9)
XYZxyz(26.1239, 14.5979, 93.5177)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E45FC #D3FC45
analogous
#4577FC #6E45FC #CA45FC
triadic
#6E45FC #FC6E45 #45FC6E
tetradic
#6E45FC #FC4577 #D3FC45 #45FCCA
square
#6E45FC #FC4577 #D3FC45 #45FCCA
split-complementary
#6E45FC #FCCA45 #77FC45
monochromatic
#2E03C3 #3F09FB #6E45FC #9D81FD #CCBDFE

Accessibility & contrast

On white

5.36
#6E45FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6E45FC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E45FC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E45FC#FFFFFF#000000##FFFFFF
##6E45FC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0065F9
Tritanopia (blue-blind)
#23789D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6e45fc;
/* rgb */ color: rgb(110, 69, 252);
/* oklch */ color: oklch(55.4% 0.253 284.9);
Tailwind
colors: {
  custom: {
    50: '#a57dff',
    500: '#6e45fc',
    950: '#000000',
  },
}
SCSS
$custom: #6e45fc;
$custom-light: #a57dff;
$custom-dark: #000000;
JSON
{
  "hex": "#6e45fc",
  "rgb": {
    "r": 110,
    "g": 69,
    "b": 252
  },
  "hsl": {
    "h": 253.443,
    "s": 96.825,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55388,
    "c": 0.25268,
    "h": 284.9
  },
  "luminance": 0.146
}

Semantic roles & 50–950 ramp

primary
#6E45FC
secondary
#E1EFAD
accent
#E600B2
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #6E45FC

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

Preview Lab → · Contrast checker → · Palette generator →

#6E45FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva