#7145FC#7145FC

#7145FC is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.6% C 0.252 H 285.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7145FC
RGBrgb(113, 69, 252)
HSLhsl(254, 97%, 63%)
HSVhsv(254, 73%, 99%)
CMYKcmyk(55.2%, 72.6%, 0%, 1.2%)
CIE-LABlab(45.35, 62.22, -84.35)
CIE-LCHlch(45.35, 104.81, 306.41°)
OKLaboklab(55.65% 0.069 -0.2428)
OKLCHoklch(55.65% 0.252 285.9)
XYZxyz(26.5036, 14.7937, 93.5355)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145FC #D0FC45
analogous
#4575FC #7145FC #CC45FC
triadic
#7145FC #FC7145 #45FC71
tetradic
#7145FC #FC4575 #D0FC45 #45FCCC
square
#7145FC #FC4575 #D0FC45 #45FCCC
split-complementary
#7145FC #FCCC45 #75FC45
monochromatic
#3103C3 #4309FB #7145FC #9F81FD #CDBDFE

Accessibility & contrast

On white

5.30
#7145FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7145FC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145FC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145FC#FFFFFF#000000##FFFFFF
##7145FC1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0066F9
Tritanopia (blue-blind)
#2F779D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7145fc;
/* rgb */ color: rgb(113, 69, 252);
/* oklch */ color: oklch(55.6% 0.252 285.9);
Tailwind
colors: {
  custom: {
    50: '#a77dff',
    500: '#7145fc',
    950: '#000000',
  },
}
SCSS
$custom: #7145fc;
$custom-light: #a77dff;
$custom-dark: #000000;
JSON
{
  "hex": "#7145fc",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 252
  },
  "hsl": {
    "h": 254.426,
    "s": 96.825,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55645,
    "c": 0.25241,
    "h": 285.9
  },
  "luminance": 0.14795
}

Semantic roles & 50–950 ramp

primary
#7145FC
secondary
#DFEFAD
accent
#E600AE
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7145FC

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

Preview Lab → · Contrast checker → · Palette generator →

#7145FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva