#7233A2#7233A2

#7233A2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.173 H 306.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7233A2
RGBrgb(114, 51, 162)
HSLhsl(274, 52%, 42%)
HSVhsv(274, 69%, 64%)
CMYKcmyk(29.6%, 68.5%, 0%, 36.5%)
CIE-LABlab(35.11, 47.74, -48.95)
CIE-LCHlch(35.11, 68.38, 314.28°)
OKLaboklab(46.16% 0.1039 -0.1388)
OKLCHoklch(46.16% 0.173 306.8)
XYZxyz(14.6435, 8.5539, 35.0550)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7233A2 #63A233
analogous
#3B33A2 #7233A2 #A2339B
triadic
#7233A2 #A27233 #33A272
tetradic
#7233A2 #A23B33 #63A233 #339BA2
square
#7233A2 #A23B33 #63A233 #339BA2
split-complementary
#7233A2 #9BA233 #33A23B
monochromatic
#301645 #512473 #7233A2 #914CC7 #AE7AD5

Accessibility & contrast

On white

7.75
#7233A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7233A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7233A2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7233A2#FFFFFF#000000##FFFFFF
##7233A21.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#1653A0
Tritanopia (blue-blind)
#6A4B66
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7233a2;
/* rgb */ color: rgb(114, 51, 162);
/* oklch */ color: oklch(46.2% 0.173 306.8);
Tailwind
colors: {
  custom: {
    50: '#9f6fbe',
    500: '#7233a2',
    950: '#000000',
  },
}
SCSS
$custom: #7233a2;
$custom-light: #9f6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#7233a2",
  "rgb": {
    "r": 114,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 274.054,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46157,
    "c": 0.17336,
    "h": 306.8
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#7233A2
secondary
#93BE73
accent
#DC4C8A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7233A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7233A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva