#7232CB#7232CB

#7232CB is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.218 H 296.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7232CB
RGBrgb(114, 50, 203)
HSLhsl(265, 60%, 50%)
HSVhsv(265, 75%, 80%)
CMYKcmyk(43.8%, 75.4%, 0%, 20.4%)
CIE-LABlab(38.15, 58.23, -68.26)
CIE-LCHlch(38.15, 89.73, 310.46°)
OKLaboklab(49.31% 0.0971 -0.1955)
OKLCHoklch(49.31% 0.218 296.4)
XYZxyz(18.8567, 10.1700, 57.4578)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7232CB #8BCB32
analogous
#323FCB #7232CB #BF32CB
triadic
#7232CB #CB7232 #32CB72
tetradic
#7232CB #CB323F #8BCB32 #32CBBF
square
#7232CB #CB323F #8BCB32 #32CBBF
split-complementary
#7232CB #CBBF32 #3FCB32
monochromatic
#3B1A69 #56269A #7232CB #9362D8 #B593E4

Accessibility & contrast

On white

6.92
#7232CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7232CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7232CB
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7232CB#FFFFFF#000000##FFFFFF
##7232CB1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#5A5B7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7232cb;
/* rgb */ color: rgb(114, 50, 203);
/* oklch */ color: oklch(49.3% 0.218 296.4);
Tailwind
colors: {
  custom: {
    50: '#a271dc',
    500: '#7232cb',
    950: '#000000',
  },
}
SCSS
$custom: #7232cb;
$custom-light: #a271dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7232cb",
  "rgb": {
    "r": 114,
    "g": 50,
    "b": 203
  },
  "hsl": {
    "h": 265.098,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49307,
    "c": 0.21828,
    "h": 296.4
  },
  "luminance": 0.1017
}

Semantic roles & 50–950 ramp

primary
#7232CB
secondary
#B2CF89
accent
#E444A1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7232CB

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

Preview Lab → · Contrast checker → · Palette generator →

#7232CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva