#7023AF#7023AF

#7023AF is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.2% C 0.204 H 303.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7023AF
RGBrgb(112, 35, 175)
HSLhsl(273, 67%, 41%)
HSVhsv(273, 80%, 69%)
CMYKcmyk(36%, 80%, 0%, 31.4%)
CIE-LABlab(33.44, 57.21, -59.48)
CIE-LCHlch(33.44, 82.53, 313.89°)
OKLaboklab(45.23% 0.1138 -0.1696)
OKLCHoklch(45.23% 0.204 303.9)
XYZxyz(15.0192, 7.7420, 41.2522)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7023AF #62AF23
analogous
#2A23AF #7023AF #AF23A8
triadic
#7023AF #AF7023 #23AF70
tetradic
#7023AF #AF2A23 #62AF23 #23A8AF
square
#7023AF #AF2A23 #62AF23 #23A8AF
split-complementary
#7023AF #A8AF23 #23AF2A
monochromatic
#2F0F49 #4F197C #7023AF #9038D7 #AC6BE1

Accessibility & contrast

On white

8.24
#7023AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7023AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7023AF
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7023AF#FFFFFF#000000##FFFFFF
##7023AF1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#634969
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7023af;
/* rgb */ color: rgb(112, 35, 175);
/* oklch */ color: oklch(45.2% 0.204 303.9);
Tailwind
colors: {
  custom: {
    50: '#9f68c8',
    500: '#7023af',
    950: '#000000',
  },
}
SCSS
$custom: #7023af;
$custom-light: #9f68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7023af",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 273,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45232,
    "c": 0.20431,
    "h": 303.9
  },
  "luminance": 0.07742
}

Semantic roles & 50–950 ramp

primary
#7023AF
secondary
#92C766
accent
#EA3E8B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7023AF

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

Preview Lab → · Contrast checker → · Palette generator →

#7023AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva