#7023B2#7023B2

#7023B2 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.5% C 0.207 H 303.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7023B2
RGBrgb(112, 35, 178)
HSLhsl(272, 67%, 42%)
HSVhsv(272, 80%, 70%)
CMYKcmyk(37.1%, 80.3%, 0%, 30.2%)
CIE-LABlab(33.69, 57.90, -60.86)
CIE-LCHlch(33.69, 84.00, 313.58°)
OKLaboklab(45.49% 0.113 -0.1737)
OKLCHoklch(45.49% 0.207 303)
XYZxyz(15.3171, 7.8611, 42.8212)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7023B2 #65B223
analogous
#2923B2 #7023B2 #B223AD
triadic
#7023B2 #B27023 #23B270
tetradic
#7023B2 #B22923 #65B223 #23ADB2
square
#7023B2 #B22923 #65B223 #23ADB2
split-complementary
#7023B2 #ADB223 #23B229
monochromatic
#300F4C #50197F #7023B2 #8F3AD8 #AC6DE2

Accessibility & contrast

On white

8.16
#7023B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7023B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7023B2
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7023B2#FFFFFF#000000##FFFFFF
##7023B21.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#624A6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7023b2;
/* rgb */ color: rgb(112, 35, 178);
/* oklch */ color: oklch(45.5% 0.207 303.0);
Tailwind
colors: {
  custom: {
    50: '#9f68ca',
    500: '#7023b2',
    950: '#000000',
  },
}
SCSS
$custom: #7023b2;
$custom-light: #9f68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7023b2",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 272.308,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45486,
    "c": 0.20721,
    "h": 303
  },
  "luminance": 0.07861
}

Semantic roles & 50–950 ramp

primary
#7023B2
secondary
#95C968
accent
#EA3E8D
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7023B2

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

Preview Lab → · Contrast checker → · Palette generator →

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