#7233C5#7233C5

#7233C5 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.211 H 297.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7233C5
RGBrgb(114, 51, 197)
HSLhsl(266, 59%, 49%)
HSVhsv(266, 74%, 77%)
CMYKcmyk(42.1%, 74.1%, 0%, 22.7%)
CIE-LABlab(37.80, 56.29, -65.34)
CIE-LCHlch(37.80, 86.24, 310.75°)
OKLaboklab(48.91% 0.0977 -0.1869)
OKLCHoklch(48.91% 0.211 297.6)
XYZxyz(18.1987, 9.9760, 53.7792)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7233C5 #86C533
analogous
#333DC5 #7233C5 #BB33C5
triadic
#7233C5 #C57233 #33C572
tetradic
#7233C5 #C5333D #86C533 #33C5BB
square
#7233C5 #C5333D #86C533 #33C5BB
split-complementary
#7233C5 #C5BB33 #3DC533
monochromatic
#3A1A64 #562694 #7233C5 #935FD6 #B490E2

Accessibility & contrast

On white

7.01
#7233C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7233C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7233C5
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7233C5#FFFFFF#000000##FFFFFF
##7233C51.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#5D597A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7233c5;
/* rgb */ color: rgb(114, 51, 197);
/* oklch */ color: oklch(48.9% 0.211 297.6);
Tailwind
colors: {
  custom: {
    50: '#a271d8',
    500: '#7233c5',
    950: '#000000',
  },
}
SCSS
$custom: #7233c5;
$custom-light: #a271d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7233c5",
  "rgb": {
    "r": 114,
    "g": 51,
    "b": 197
  },
  "hsl": {
    "h": 265.89,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48908,
    "c": 0.2109,
    "h": 297.6
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#7233C5
secondary
#AFCD87
accent
#E2469F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7233C5

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

Preview Lab → · Contrast checker → · Palette generator →

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