#7233A1#7233A1

#7233A1 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.172 H 307.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7233A1
RGBrgb(114, 51, 161)
HSLhsl(274, 52%, 42%)
HSVhsv(274, 68%, 63%)
CMYKcmyk(29.2%, 68.3%, 0%, 36.9%)
CIE-LABlab(35.04, 47.50, -48.47)
CIE-LCHlch(35.04, 67.86, 314.42°)
OKLaboklab(46.08% 0.1041 -0.1373)
OKLCHoklch(46.08% 0.172 307.2)
XYZxyz(14.5549, 8.5184, 34.5888)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7233A1 #62A133
analogous
#3B33A1 #7233A1 #A13399
triadic
#7233A1 #A17233 #33A172
tetradic
#7233A1 #A13B33 #62A133 #3399A1
square
#7233A1 #A13B33 #62A133 #3399A1
split-complementary
#7233A1 #99A133 #33A13B
monochromatic
#301644 #512473 #7233A1 #924BC6 #AE7AD5

Accessibility & contrast

On white

7.77
#7233A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7233A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7233A1
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7233A1#FFFFFF#000000##FFFFFF
##7233A11.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#18539F
Tritanopia (blue-blind)
#6A4B66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7233a1;
/* rgb */ color: rgb(114, 51, 161);
/* oklch */ color: oklch(46.1% 0.172 307.2);
Tailwind
colors: {
  custom: {
    50: '#9f6fbd',
    500: '#7233a1',
    950: '#000000',
  },
}
SCSS
$custom: #7233a1;
$custom-light: #9f6fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#7233a1",
  "rgb": {
    "r": 114,
    "g": 51,
    "b": 161
  },
  "hsl": {
    "h": 274.364,
    "s": 51.887,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46084,
    "c": 0.17229,
    "h": 307.2
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#7233A1
secondary
#92BD72
accent
#DB4C8A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7233A1

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

Preview Lab → · Contrast checker → · Palette generator →

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